New: HouseBuilder metric 1.2 (customizable)
-
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 line
Within 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
-
Hi Didier,
Works now perfectly!! Thanks
Karl,
Had the same problem as you, removed every housbuilder script from the plugin folder and did a re-install with the new script. Problem was solved.
[Jan Vdb]
-
Hi Kmead,
I noticed that the path to HouseBuilder is wrong:
/Library/Application Support/Google Sketchup 6/Plugins/Housebuilder/Please rename the Housebuilder folder to HouseBuilder, because pathes are case-sensitive.
Hope this will solve the problem -
Hi again Didier...
It woks perfect but everytime when i do a right-click on a selection it makes an annoying "beep" sound.
I remember that was a problem (?) of previous housebuilder´s versions, so i search in the old forum for an answer...
if i put in the console:
module UI; def self.beep; p caller; end; end
the problem is solved... but when i restart SU6 i have to put it again in the ruby console.
Another solution found in the old forum was to replace:
UI.beep
by
#UI.beep
in housebuilder. But i think that part is encrypted. Could you make this change for me?Thanks in advance,
Daniel S -
Hi Daniel,
Done. See depository and replace houseBuilderTool.rb in your HouseBuilder folder.
Cheers, -
Thank you Didier! I have no more the "beep"
And all the rest works perfect.Thank you again,
Daniel S -
Still not enjoying the love. Still suffer the same error on a Mac. Its no fun being a minority...
Advertisement