• Login
sketchucation logo sketchucation
  • Login
๐Ÿ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

[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.
  • D Offline
    Didier Bur
    last edited by 16 Jul 2008, 09:07

    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 16 Jul 2008, 09:40

      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 16 Jul 2008, 12:22

        @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 16 Jul 2008, 20:03

          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
          • D Offline
            Didier Bur
            last edited by 17 Jul 2008, 17:15

            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 17 Jul 2008, 17:31

              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 18 Jul 2008, 05:27

                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 28 Sept 2008, 04:22

                  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 27 Oct 2008, 19:59

                    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 6 Nov 2008, 05:55

                      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 6 Nov 2008, 11:55

                        Thanks for the new script!

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rodericx
                          last edited by 8 Jan 2010, 18:43

                          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 8 Jan 2010, 21:08

                            @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 9 Mar 2010, 15:12

                              @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
                              • D Offline
                                Didier Bur
                                last edited by 9 Mar 2010, 20:29

                                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 15 Mar 2010, 23:16

                                  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 3 Jun 2010, 14:52

                                    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 3 Jun 2011, 16:32

                                      @unknownuser said:

                                      Real sweet, thx Didier! ๐Ÿ˜‰

                                      thx Didier real work ๐Ÿ˜Ž

                                      1 Reply Last reply Reply Quote 0
                                      • GwyattG Offline
                                        Gwyatt
                                        last edited by 19 Jul 2011, 00:02

                                        Bump

                                        any news on the mac fix i tried to edit on my mac to no joy scrambled code love this pack please point in right place if i'm looking wrong place

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          Didier Bur
                                          last edited by 19 Jul 2011, 07:53

                                          Hi,
                                          Here is an 'unscrambled' version of the main script, with no reference to Sketchup.exe.
                                          Hope it will work on Mac.
                                          Regards,


                                          Overwrite House_builder_extension.rb in your Plugins folder with this one.

                                          DB

                                          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