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.
    • 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
              • GwyattG Offline
                Gwyatt
                last edited by

                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
                • Didier BurD Offline
                  Didier Bur
                  last edited by

                  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
                  • X Offline
                    Xelcho
                    last edited by

                    Being in the US I would love to have the functionality of the new toolbar based package in US units. I have already modified the txt file to make it work as though it were US units. Is there a all foot-inch version on the horizon?

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • GaieusG Offline
                      Gaieus
                      last edited by

                      I guess the "original" was made to work with imperial untis. Try this:
                      http://rhin.crai.archi.fr/rld/plugin_details.php?id=188
                      or this one maybe:
                      http://rhin.crai.archi.fr/rld/plugin_details.php?id=185

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • X Offline
                        Xelcho
                        last edited by

                        Gaieus,

                        Thanks for the info it is perfect. I would like to add to the list and expand it. I will let you know how it goes.

                        Thank you,

                        X

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          Xelcho
                          last edited by

                          Didier & Gaieus,

                          I have worked with the version you recommended for a little while now and love the potential. However, there are a few things that it is lacking:

                          It does not read from the txt file like the new version.

                          It does not have the stock list function like the new version.

                          Is it possible to add this functionality of the imperial version?

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by

                            Well, I have never used either version (and I am as good at programming in ruby as you seem to be). I only knew about that plugin but that's all where my potential help ends I am afraid...

                            Gai...

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

                              Didier Bur made this metric version from the original imperial one, and added some new things like the section-list.
                              As you probably found he has 'encrypted' the code by packing it; so, unlike many scripts, it is not easily adjusted using a Notepad editor, a brain and a little effort...
                              Whilst some of us know how to undo this encryption it would be unethical to mess with the code without his permission.
                              Can I suggest you PM Didier direct and ask [nicely] that he looks at converting his metric version into an updated imperial '/" version - I'm sure that many US users would appreciate it too... It might be as simple as changing the section-list and a few lines of code in the scripts to '/" defaults rather than metric... ๐Ÿค“

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • gullfoG Offline
                                gullfo
                                last edited by

                                you'd almost want a wish list of things to add: ๐Ÿ˜ฎ

                                1. switchable between metric and imperial ๐Ÿ˜„
                                2. skin thickness and perhaps a settable offset value so skin on adjoining wall/floor/ceiling/roof join on edges correctly...
                                3. skin and rim joists on floor (ability to select rim joints as lumber and joists as engineered for example)
                                4. openings in floor (create floor/ceiling framing with openings for stairs, AC vents, etc)
                                5. openings in roof (skylights, hatches)

                                basically the last two would apply the window and door functionality to the roof and floor objects.

                                Glenn

                                http://www.runnel.com

                                1 Reply Last reply Reply Quote 0
                                • irwanwrI Offline
                                  irwanwr
                                  last edited by

                                  this is the best wood building construction tool that i know
                                  especially because it works with metric too ๐Ÿ˜‰
                                  i hope Didier would like to take a look at it again for more improvement

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

                                    Mr. Didier,

                                    I'm not bugging you for an Imperial version ๐Ÿ˜‰. Just bumping the thread

                                    Also, to those who have used this plugin. Can you create a realistic cutlist from it? I don't really have a use for it right now but I know there will be a day.

                                    [off:3mk4hcm1]BTW I'm working in a Sawmill right now drying 135,000 bd. ft. of 2x6's in one kiln and 66,000 in another [/off:3mk4hcm1]

                                    1 Reply Last reply Reply Quote 0
                                    • kachuppK Offline
                                      kachupp
                                      last edited by

                                      Great script, I'm having trouble changing global roof properties "lumber size" it reverts back to its default 16x50 everytime. I edited the sections txt file to reflect the common timbers sizes in NZ. 16x50 none existant in the edited file. SO my question is it hard coded into the packed script โ“

                                      1 Reply Last reply Reply Quote 0
                                      • kachuppK Offline
                                        kachupp
                                        last edited by

                                        @kachupp said:

                                        Great script, I'm having trouble changing global roof properties "lumber size" it reverts back to its default 16x50 everytime. I edited the sections txt file to reflect the common timbers sizes in NZ. 16x50 none existant in the edited file. SO my question is it hard coded into the packed script โ“

                                        First I must apologize for decoding the encoded script. Done!
                                        The above was hard coded into the script Fixed!

                                        I love what you did with it using the external section file ๐Ÿ˜

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

                                          Seems to me that a script like this that made Hip Roofs would be very valuable to builders. I've seen a bunch of the roof plugins but none that make hip roof rafters. Don't even know if it's possible and as you can probably tell, I'm no carpenter.

                                          Still wishing for the imperial version of this one too ๐Ÿ˜„

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            spireup
                                            last edited by

                                            Does anyone know where HouseBuilder stores the Section List on a Mac? I cant seem to find it.

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

                                            Advertisement