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.9k 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.
    • S Offline
      samtsham
      last edited by

      Same here:

      @kmead said:

      I have run into a bit of a problem:
      Error Loading File HouseBuilder_extension.rb
      private method `split' called for nil:NilClass

      Also on a Mac, and can also not get many other scripts to display (see separate post in Ruby-board).

      Any other Mac-users lucky with this one? Thanks ...

      SAM from Vienna.

      [samtsham]

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

        Hi,
        I think it's a path problem. To locate the Housebuilder path on your system, it first tries to locate where SU is installed, then it goes to the plugins folder, then to the Housebuilder folder, to read the sections text file.

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

        This is the offending line of the script, because I suppose there's no ".exe" file on a Mac, right ?
        Please tell me where SU is installed by default on a Mac system and I'll try to solve this issue.
        Regards,

        DB

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

          I just wanted to now if there is in view the possility to do angle walls ( not only 90 degres)?
          I really like the ruby. it is very easy to use even my boy ten is builden an amazing house with it. I just see how everything is increasing so fast with all the rubys, that is why i am asking, maybe also curved walls?

          thank for all the work you are doing for the Sketchup Community I have been looking here and there for a while now and I appreciate all that has been done.

          Merci beaucoup

          [Haggai]

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

            @didier bur said:

            Hi,
            I think it's a path problem. To locate the Housebuilder path on your system, it first tries to locate where SU is installed, then it goes to the plugins folder, then to the Housebuilder folder, to read the sections text file.

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

            This is the offending line of the script, because I suppose there's no ".exe" file on a Mac, right ?
            Please tell me where SU is installed by default on a Mac system and I'll try to solve this issue.
            Regards,

            Didier,
            I also have the same error message with HB metric 1.2 (on a Mac). But if this can help, HB metric v1.1 is working correctly for me. So, normally, the path used for 1.1 should work with 1.2
            Otherwise, I think the default location for SU is /Applications/Google Sketchup 6/ and the name is SketchUp.app

            Regards

            1 Reply Last reply Reply Quote 0
            • John SayersJ Offline
              John Sayers
              last edited by

              Didier - as I've said before Housebuilder is a great resource. 😄

              Unfortunately I have a problem with the new metric version. I work in both imperial and in metric depending on the client's format. I installed the metric and it works for metric, but won't work in imperial so I've uninstalled it and gone back to the imperial version because it did work in metric.

              Is it possible to have both in one program with a selection between the two systems??

              cheers
              john

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

                Hi John,
                I will rework the script when back from holidays 😛 !
                Regards,

                DB

                1 Reply Last reply Reply Quote 0
                • John SayersJ Offline
                  John Sayers
                  last edited by

                  Thanks mate - I'd really appreciate that. It's the best Ruby script of all. 😄

                  BTW - I'm still confused between Header Height and Door Height in the door script. Surely they are the same thing.

                  cheers
                  john

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AcesHigh
                    last edited by

                    Didier, seeing you are from France, I have two questions:

                    1- you did make the feet/inches version before the metric one????

                    2 - the house builder tool is mostly useful to these woodframe houses which are most common in US/Canada. In France most houses use bricks, dont they?

                    [AcesHigh]

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

                      @aceshigh said:

                      Didier, seeing you are from France, I have two questions:

                      1- you did make the feet/inches version before the metric one????

                      2 - the house builder tool is mostly useful to these wood-frame houses which are most common in US/Canada. In France most houses use bricks, don't they?

                      The House Builder tool set was developed a couple of years ago by Steve Hurlbut in the US - it was in '&", BUT Didier metricated it more recently... It meant changing all of the timber sizes, dialogs and so on so it took a while.

                      TIG

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

                        Hi,
                        TIG is right, and as I said at the top of this thread: "this must-have developed by Steve Hurlbutt (and me for the toolbar, estimates, metric versions)".
                        That's why it has been developed in feets first.

                        @unknownuser said:

                        In France most houses use bricks, dont they?

                        Yes and no, it depends where the house is: bricks in the North, natural stone almost everywhere, concrete and concrete blocks in suburban areas, wood in the south-west and in all mountainous areas.
                        Regards,

                        DB

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AcesHigh
                          last edited by

                          thanks.

                          Living in Brazil, where woodframe is almost non-existant, I use only the roof function of it, since many roofs from brick/concrete houses are done with wood frame/trussers, whatever 😄

                          [AcesHigh]

                          1 Reply Last reply Reply Quote 0
                          • aadbuildA Offline
                            aadbuild
                            last edited by

                            Hi all, I have been following the thread with house builder and I am having problems loading house builder as well. I am using a P.C and I have dropped house builder in the plugins folder and when I start Sketchup I come up with the following message:
                            No such file to load -- HouseBuilder/HouseBuilderTool.rbError Loading File HouseBuilder_extension.rb
                            (eval):36:in `readlines': No such file or directory - C:/Program Files/Google/Sketchup 6/Plugins\HouseBuilder\housebuilder_sections.txt
                            I have tried sevral variations but I have had no luck. Is there any one who could steer me in the right direction. I am looking forward to see what house builder can do. Your help will be much appreciated. 😄

                            Every building designed can be affordable & buildable, to help we built PlusSpec; VDC & BIM for Sketchup

                            https://www.plusspec.com

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

                              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.

                              DB

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                abumail
                                last edited by

                                Dera Didier,
                                Your Script is very useful and funny,
                                I have a doubt about the timber (beam) on top of the windows and door.
                                If i put door or windows it's result vertical, Shouldn't be horizontal?
                                Thank you in advance for your kind attention,
                                Giovanni


                                windows.jpg

                                1 Reply Last reply Reply Quote 0
                                • AnssiA Offline
                                  Anssi
                                  last edited by

                                  Giovanni,

                                  I think it is a matter of both local convention and structural strength. When I was taught about framing (half a zillion years ago) I was told to put the beam vertically. So from my point of view this should be correct.

                                  Anssi

                                  securi adversus homines, securi adversus deos rem difficillimam adsecuti sunt, ut illis ne voto quidem opus esset

                                  1 Reply Last reply Reply Quote 0
                                  • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement