[Plugin] HouseBuilder metric 1.2
-
@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 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:NilClassI would like upload the Spanish version of House Builder v. 1.0 for all users and the others plugins. Please, tell me how.
-
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,
-
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.
-
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... -
-
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
-
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.
-
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
-
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 -
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
-
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?
-
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...
-
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... -
you'd almost want a wish list of things to add:
- switchable between metric and imperial
- skin thickness and perhaps a settable offset value so skin on adjoining wall/floor/ceiling/roof join on edges correctly...
- skin and rim joists on floor (ability to select rim joints as lumber and joists as engineered for example)
- openings in floor (create floor/ceiling framing with openings for stairs, AC vents, etc)
- openings in roof (skylights, hatches)
basically the last two would apply the window and door functionality to the roof and floor objects.
-
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 -
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]
-
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
-
@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
-
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
Advertisement