sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] HouseBuilder metric 1.2

    Scheduled Pinned Locked Moved Plugins
    79 Posts 42 Posters 109.8k Views 42 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Didier BurD Offline
      Didier Bur
      last edited by

      I agree with Anssi.
      But I want also say that it is NOT my script. The original was coded by S. Hurlbutt, I only tweaked it to metric units and parametric sections...

      DB

      1 Reply Last reply Reply Quote 0
      • D Offline
        dayakar78mac.com
        last edited by

        @didier bur said:

        Hi,
        if you have correctly unzipped the package in your Plugins folder, there should'nt be any problem.
        Check that you have:

        • HouseBuilder_extension.rb in your Plugins folder
        • a sub-folder named "HouseBuilder" with 2 other .rb files in it and a lot of png's and gif's as well. A .txt file is also there, with the wood sections listed in it.

        Read the readme.txt file for further details.

        Hi Didier,

        I have unzipped HouseBuilder_metric_12.zip in the Plugins folder. The HouseBuilder_extension.rb and sub-folder "HouseBuilder" are there as described by you. When I launch SketchUp, I still get the following error.

        "Error Loading File HouseBuilder_extension.rb private method split called for nil:NilClass"

        Could you please advice me to resolve this issue.

        I am using SketchUp Pro v6.0 on iMac, Mac os x 10.5.4.

        Thanks,
        Dayakar


        Error Loading file

        1 Reply Last reply Reply Quote 0
        • Didier BurD Offline
          Didier Bur
          last edited by

          Hi,
          I'm puzzled because the "split" method is called several dozens of times in the code so I can't localize exactly where there's something wrong at startup. Maybe it's a Mac issue. Do you have a file "housebuilder_sections.txt in the HouseBuilder folder ? I guess yes...
          Give me some time to search...But take a look at the top of this thread, other people on Mac have the same issue as yours.

          DB

          1 Reply Last reply Reply Quote 0
          • P Offline
            pav_3j
            last edited by

            wow, thank you very much! this is awesome

            pav

            Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

            1 Reply Last reply Reply Quote 0
            • D Offline
              dayakar78mac.com
              last edited by

              @didier bur said:

              Hi,
              I'm puzzled because the "split" method is called several dozens of times in the code so I can't localize exactly where there's something wrong at startup. Maybe it's a Mac issue. Do you have a file "housebuilder_sections.txt in the HouseBuilder folder ? I guess yes...
              Give me some time to search...But take a look at the top of this thread, other people on Mac have the same issue as yours.

              Hi Didier,

              Thank you for the response. Yes, I do have have housebuilder_sections.txt in the HouseBuilder subfolder. This script is very useful, I saw the demo of this script at http://sites.google.com/site/3dbasecamp2008/all-sessions-2008/maxing-out-your-productivity-with-ruby-scripts.

              Regards,
              Dayakar

              1 Reply Last reply Reply Quote 0
              • T Offline
                thinkbuild
                last edited by

                Greetings to all.

                Didier, just a quick note - I just wanted you to know that I am also having the same issues with my mac.

                "Error Loading File HouseBuilder_extension.rb
                private method `split' called for nil:NilClass"

                Any ideas?

                I tried to look for the "offending line" in the script but I quickly became confused. Is it "HouseBuilder_extension.rb", (which is not scrambled)
                or "HouseBuilder.rb", or "HouseBuilderTool.rb" (both of which are scrambled)?

                Please advise. I'm sure many of us in the Mac community would be very appreciative if we could get this to work!

                cheers from Berlin,

                Jason

                1 Reply Last reply Reply Quote 0
                • Didier BurD Offline
                  Didier Bur
                  last edited by

                  Hi
                  It is probably in "HouseBuilder_extension.rb" there.
                  I suspect this line is the offending one:

                  su_path = Sketchup.find_support_file("Sketchup.exe").split("Sketchup.exe")[0]

                  because there's no exe files on Mac, and they are located elsewhere. So su_path variable is nil, and when the script tries to locate the txt sections files, the su_path is splitted starting from a nil value, which raises error. (hope i'm clear 😳 )
                  I'll take a look at this asap, but I'm very busy these days... Here is my todo list, apart from corporate devs:

                  Terrain reshaper
                  Housebuilder for Mac
                  Transformer keys positions
                  Align tool -> copy option
                  Extrudelinesalongpath (follow me for lines)
                  SU2STL & Heightfield_gen : binary tests
                  Instancing brush for compo spray
                  SU2POV mat editor sliders

                  😄

                  DB

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thinkbuild
                    last edited by

                    bonjour didier ...

                    ok, i will see what i can do to make it work. note i am a total non-programmer, but maybe i'll have some luck and you can strike it off your list! i'll report back when i know if i have any success or not 😉

                    a bientôt!

                    jason

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thinkbuild
                      last edited by

                      Cher Didier,

                      Bonjour! Alors, here's the report: I can't find the line you are talking about in the script. Pas trouve! It must be in one of the two scrambled files. Je regrete! Please advise if there is another way I can help!

                      best wishes from Berlin,

                      Jason

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        Hazza
                        last edited by

                        Is it possible to change this so that the wall (or whatever) you just created is undone in one go?

                        See all of my SketchUp models here.

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          MrPlanet
                          last edited by

                          Hi! i want to delete housebuilder from my computer but it says it is being used by another person when sketchup is closed,can someone tell me what's happening?,thanks

                          I reject your reality and substitute my own.

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            flo
                            last edited by

                            I got here when I was looking for the answer to the post How do I print ti scale in SketchUp? I didn't find the answer but I found u guys talking about housebuilder. What is that?

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              linea
                              last edited by

                              Thanks for the new script!

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rodericx
                                last edited by

                                its possible to translate ? i mean i dont know much about ruby (nothing actually), then this interesting plugin i wanted to use in spanish... then i see in the file : HouseBuilder_extention.rb some calls... like

                                # Floor tool
                                  cmd3 = UI;;Command.new(("Floor tool")) { Sketchup.active_model.select_tool HouseBuilder;;FloorTool.new }
                                  cmd3.small_icon = "HouseBuilder/hb_floortool_S.png"
                                  cmd3.large_icon = "HouseBuilder/hb_floortool_L.png"
                                  cmd3.tooltip = "Creates a floor."
                                  hb_tb.add_item(cmd3)
                                

                                then i want to know if i can replace the texts between "" without affect the plugin?. 😎

                                1 Reply Last reply Reply Quote 0
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  @rodericx said:

                                  its possible to translate ? i mean i dont know much about ruby (nothing actually), then this interesting plugin i wanted to use in spanish... then i see in the file : HouseBuilder_extention.rb some calls... like

                                  # Floor tool
                                  >   cmd3 = UI;;Command.new(("Floor tool")) { Sketchup.active_model.select_tool HouseBuilder;;FloorTool.new }
                                  >   cmd3.small_icon = "HouseBuilder/hb_floortool_S.png"
                                  >   cmd3.large_icon = "HouseBuilder/hb_floortool_L.png"
                                  >   cmd3.tooltip = "Creates a floor."
                                  >   hb_tb.add_item(cmd3)
                                  

                                  then i want to know if i can replace the texts between "" without affect the plugin?. 😎

                                  Text within "" or even '' can be replaced with anything else you want - i.e. a translation... UNLESS it's a path to a file xxx/xxx/xxx.png etc DON'T change anything else - the worse that can happen is it won't work ! 😮
                                  Keep a copy of the original ! 😒

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pedromarmol
                                    last edited by

                                    @tig said:

                                    @rodericx said:

                                    its possible to translate ? i mean i dont know much about ruby (nothing actually), then this interesting plugin i wanted to use in spanish... then i see in the file : HouseBuilder_extention.rb some calls... like

                                    # Floor tool
                                    > >   cmd3 = UI;;Command.new(("Floor tool")) { Sketchup.active_model.select_tool HouseBuilder;;FloorTool.new }
                                    > >   cmd3.small_icon = "HouseBuilder/hb_floortool_S.png"
                                    > >   cmd3.large_icon = "HouseBuilder/hb_floortool_L.png"
                                    > >   cmd3.tooltip = "Creates a floor."
                                    > >   hb_tb.add_item(cmd3)
                                    

                                    then i want to know if i can replace the texts between "" without affect the plugin?. 😎

                                    Text within "" or even '' can be replaced with anything else you want - i.e. a translation... UNLESS it's a path to a file xxx/xxx/xxx.png etc DON'T change anything else - the worse that can happen is it won't work ! 😮
                                    Keep a copy of the original ! 😒

                                    Hello!!
                                    I'm a spanish user of Sketchup, i'm translating a lot of plugins for SU to spanish language.
                                    I have finished the translation of House Builder ver. 1.0, and it works fine in Mac, only one problem, some units in the options of the tools are in inches, and i work in metres but it's a minor problem, the rest is OK.
                                    I can't translate The House Builder ver. 1.2 because the files HouseBuilder.rb and HouseBuilderTool.rb are encoded, i have translated the HouseBuilder_extension.rb only, the icons appear and the tooltip too in spanish, but don't works in Mac, it appears the same problem:
                                    Error al cargar archivo HouseBuilder_extension.rb
                                    private method `split' called for nil:NilClass

                                    I would like upload the Spanish version of House Builder v. 1.0 for all users and the others plugins. Please, tell me how.

                                    1 Reply Last reply Reply Quote 0
                                    • Didier BurD Offline
                                      Didier Bur
                                      last edited by

                                      Hi,
                                      Open the file in a text editor and go to line 34. It reads like this:

                                      su_path = Sketchup.find_support_file("Sketchup.exe").split("Sketchup.exe")[0]
                                      

                                      The problem is that there's no ".exe" files on Mac. Try to remove ".exe":

                                      su_path = Sketchup.find_support_file("Sketchup").split("Sketchup")[0]
                                      

                                      and see if it works.

                                      Regards,

                                      DB

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        tim
                                        last edited by

                                        Not specifically to do with Didiers metric version, but I recently posted a few bug fixes relating to door opening size/position and that infuriating beep every time you context menu on http://forums.sketchucation.com/viewtopic.php?f=15&t=26858

                                        I'm thinking of breaking out the different functions and rewriting some of the less pretty code but to be honest I find Ruby such an unpleasant system to work in that it rather puts me off. Maybe I should just build an interface to Smalltalk.

                                        1 Reply Last reply Reply Quote 0
                                        • Q Offline
                                          quick
                                          last edited by

                                          Bump
                                          Any word on fixes for Metric 1.2 Mac version?
                                          the files are scrambled, and i can't find any reference to sketchup.exe in the unscrambled file. could really do with a metric wall builder...

                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            krokodandi
                                            last edited by

                                            @unknownuser said:

                                            Real sweet, thx Didier! 😉

                                            thx Didier real work 😎

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement