New(ish) HouseBuilder ruby?
-
it's still there.. house builder is on this page:
http://rhin.crai.archi.fr/RubyLibraryDepot/Ruby/en_arc_page.htm[and for some reason, i always have to right-click then download linked file from crai otherwise the actual ruby text will open in my browser.. the zip files work normally]
edit-- here's the main site address now:
http://rhin.crai.archi.fr/RubyLibraryDepot/Ruby/RUBY_Library_Depot.htmsearching will link to the old address though so it's not much use..
-
Interesting - a single link did eventually arrive at a place that didn't 404 on me. Sadly it only seems to provide the old and apparently buggy plugin.
It doesn't fill me with confidence to see right at the beginning of the HouseBuilder_extension.rb -Floor tool
cmd3 = UI::Command.new(("Wall 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)Wall tool
cmd1 = UI::Command.new(("Wall tool")) { Sketchup.active_model.select_tool HouseBuilder::WallTool.new }
cmd1.small_icon = "HouseBuilder/hb_walltool_S.png"
cmd1.large_icon = "HouseBuilder/hb_walltool_L.png"
cmd1.tooltip = "Creates a wall."
hb_tb.add_item(cmd1)Surely building two commands with the same name can't be a good idea?
-
OK, I managed to debug (good grief, Ruby is horrible) the issue with the door frame being offset (silly arithmetic error, easily fixed once spotted) and the weird-things-with-two-doors stopped after replacing the wall.
-
Aaaannd... now I've managed to remove a really stupid bug that made the system beep every time you click for a context menu and the selection is not a wall. SIgh.
-
Ah, that's the infamous beep with housebuilder!
-
Dear Tim,
Perhaps you could release your de-bugged version. I am sure that it would be useful to some Forum members. What is the etiquette here?
Kind regards,
Bob -
@watkins said:
Perhaps you could release your de-bugged version.
I'm perfectly happy to do so; if anyone wants to package it up that's fine by me; I guess Didier is the best candidate.
Here it is anyway - modified Housebuilder.rb with the door sizing fixed to compensate for the rough opening offset and the stupid beep fixed. There is still a huge amount that could be improved.
modified by tim Rowledge to fix a couple of bugs -
Dear Tim,
Thank you for doing that. I'm sure that others will appreciate having a de-bugged version.
Kind regards,
Bob -
Hello all,
Tim, thanks for the bug fixes. I found this thread doing a search to get rid of the beep you described. I downloaded the new .rb file and put it in my Housebuilder subfolder under Plugins, replacing the one that was there. However, I'm still getting the beep anytime I select the EDIT menu as well as every time I right-click on a drawing. Was this the beep that was address and, if so, are there more steps I need to take?Thanks,
-mike -
@mikeh said:
However, I'm still getting the beep anytime I select the EDIT menu as well as every time I right-click on a drawing. Was this the beep that was address and, if so, are there more steps I need to take?
Ah. Yes, you need to slap me upside the head to upload the correct file. I forgot that I altered the HousebuilderTool.rb as well. So here it is.
HouseBuilderTool.rb -
Thanks for this ... I wondered where that 'plink-plonk' appeared from (I don't always have sound on, so didn't immediately associate it with Housebuilder).
-
@tim said:
@mikeh said:
However, I'm still getting the beep anytime I select the EDIT menu as well as every time I right-click on a drawing. Was this the beep that was address and, if so, are there more steps I need to take?
Ah. Yes, you need to slap me upside the head to upload the correct file. I forgot that I altered the HousebuilderTool.rb as well. So here it is.
[attachment=0:1lxtvlte]<!-- ia0 -->HouseBuilderTool.rb<!-- ia0 -->[/attachment:1lxtvlte]Hi Tim, huge thanks for the door size bug fix. I copied the two files you posed into Plugins/Housebuilder file - fixes the door problem perfectly but has also converted my metric version of Housebuilder into imperial. Any advice on how to get it back to metric?
Thanks
-
@tim said:
Here it is anyway - modified Housebuilder.rb with the door sizing fixed to compensate for the rough opening offset
I downloaded HouseBuilder.rb. Should HouseBuilder_extension.rb be removed from the plugins folder?
Advertisement