New: HouseBuilder metric 1.2 (customizable)
- 
Hi all,
Juju requested a version of HouseBuilder to handle metric sections used in South Africa.
I've just uploaded at the depositary a new version of the HouseBuilder package.
Here it is: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1518
This version 1.2 can load customized lumber sections from an external file, so everybody can input its own used sections.
Unzip in Plugins folder and please READ readme.txt
Have fun,
 - 
hehe, one or two typo's in the txt file, but I think all is still clear enough. thx man.
 - 
  
Edited. Thanx for pointing out. - 
Good day Didier;
I have run into a bit of a problem:
Error Loading File HouseBuilder_extension.rb
private method `split' called for nil:NilClassI run on Mac OSX so that may be some part of the issue. Is there something else I should have loaded?
 - 
In my case i still cannot see the icons in the toolbar (like in previous versions of housebuilder)... It works well, but i can´t view the icons...
 - 
Hi, Didier
Have the same problem as Daniel.
Have clearly carried out the instructions of the readme file, but still can't see any icons.
Work with a PC. (AMD Athlon 64 X2 Dual Core processor 4200+ /NVIDIA Geforce 7800 GT SLI)
Thanks, Jan Vdb
 - 
Hi Kmead,
@unknownuser said:
I run on Mac OSX so that may be some part of the issue
That's true, but my fault

The text file "housebuilder_section.txt" is loaded from a path which is hard-coded and I suppose it is different on PC and Mac.
What the program does is that it searches the SU executable and it adds "Plugins/HouseBuilder" to the path
of the exe to find the text file.
What is the absolute path by default to the SU executable on a Mac ?
And what is the relative path of the HouseBuilder folder ?
Thanks for helping me to fix this problem. - 
Hi all,
I've released a new set of icons at the depositary (same post than the main prog).
Tell me if this one works for you
Reagards, - 
didier,
sorry, but I could not find them.
edson
 - 
emahfuz, go to the link in the post at the top of this thread, look for the attachment called hb_icons.zip and download. Next find your SU installation folder, go to plugins > housebuilder folder, copy icons extracted from the zip file provided into said folder.

 - 
Hi, Didier
Sorry to say that the new icons don't make any difference
Greetings, Jan Vdb
 - 
Hi Didier,
I install the new icons but still no lucky...
i´m runing SU in PC with windows (but spanish version, maybe that´s the problem)
The absolute path by default to the SU executable is:
C:\Archivos de programa\Google\Google SketchUp 6\SketchUp.exe
I think that everyone has "Program Files" instead "Archivos de programa"Daniel S
 - 
What's going on with these icons

Still searching.
Anyone has my layer manager script with similar problems ??? - 
Didier:
On a Mac the path will always be:
/Library/Application Support/Google Sketchup 6/Plugins/Housebuilder/housebuilder_sections.txt
if that helps.
Many thanks, I haven't been by earlier so my apologies for taking so long to post the info.
I was looking at the old housebuilder and the ruby wasn't encoded like it is now or I would have tried chasing this myself.
Many thanks and have a great day.
Karl
 - 
I've installed ruby as directed, activated the housebuilder menu under the view functions, also replaced the images with the new - still no icons though...
 - 
SORRY all for the inconvenience (related to icons)

I think I've got the solution: for an unknown reason scrambled extension code doesn't seem to work OK on some platforms (wether PC or Mac).
I'll publish in a few hours a "non-scrambled" main script to replace the 'offender'.
Regards, - 
  I'm sure this one will work !!!
Please download it at the depositary and re-install ALL files.
Regards, - 
Now I can see the icons!!!
Thank you Didier!!!
Daniel S
 - 
Didier, some hint for the encrypted/scrambled version: The code is executed through "eval" and so some file infos are missed. If you want to build a nearly fully encrypted version, you can write a simple non-encrypted Ruby file, which only sets a global constant (make sure you are not using a variable) like
MY_FILEDIR = File.dirname(__FILE__).gsub(/[\\\/]/, File;;SEPARATOR) << File;;SEPARATOR unless defined? MY_FILEDIR # all in one lineWithin the encrypted file you -> require the non-encrypted file and are done. Say you have
- my.rbs
 - my/mypath.rb
than you require like this: 
require 'my/mypath.rb'The "defined?"-thing is done to avoid possible redefiniton of the constant - that would raise an error (or give a warning, not sure).
edit: One regular expression and one gsub is enough

azuby
 - 
Didier:
I still get:
Error Loading File HouseBuilder_extension.rb
private method `split' called for nil:NilClassWhen SU starts and although one can bring up the House Builder tool pallette, it won't actually do anything when one clicks on the buttons.
Sorry for being a wet blanket
Karl
 
Advertisement