sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] HouseBuilder metric 1.2

    已排程 已置頂 已鎖定 已移動 Plugins
    79 貼文 42 Posters 112.9k 瀏覽 42 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Didier BurD 離線
      Didier Bur
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • A 離線
        abumail
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • AnssiA 離線
          Anssi
          最後由 編輯

          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 條回覆 最後回覆 回覆 引用 0
          • Didier BurD 離線
            Didier Bur
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • D 離線
              dayakar78mac.com
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 0
              • Didier BurD 離線
                Didier Bur
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • P 離線
                  pav_3j
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 0
                  • D 離線
                    dayakar78mac.com
                    最後由 編輯

                    @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 條回覆 最後回覆 回覆 引用 0
                    • T 離線
                      thinkbuild
                      最後由 編輯

                      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 條回覆 最後回覆 回覆 引用 0
                      • Didier BurD 離線
                        Didier Bur
                        最後由 編輯

                        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 條回覆 最後回覆 回覆 引用 0
                        • T 離線
                          thinkbuild
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • T 離線
                            thinkbuild
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • H 離線
                              Hazza
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • M 離線
                                MrPlanet
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • F 離線
                                  flo
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • L 離線
                                    linea
                                    最後由 編輯

                                    Thanks for the new script!

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • R 離線
                                      rodericx
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • TIGT 離線
                                        TIG Moderator
                                        最後由 編輯

                                        @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 條回覆 最後回覆 回覆 引用 0
                                        • P 離線
                                          pedromarmol
                                          最後由 編輯

                                          @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 條回覆 最後回覆 回覆 引用 0
                                          • Didier BurD 離線
                                            Didier Bur
                                            最後由 編輯

                                            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 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 4 / 4
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement