Balustrade with components plugin seems to fail in SU8
-
Hello,
Long time no posting, but reading all your interesting ideas about SketchUp.
In SketchUp 8, when I try to work with balustrade with components plugin, I receive the next message:Error Loading File balustrade_components.rb
C:/Program Files/Google/Google SketchUp
8/Plugins/balustrade_components.rb:228:syntax error,
unexpected',',expecting')'
if (n1.between?(n2-interval),(n2+interval))Any advice?
-
It's a known issue - the problem is that the newly shipped version of Ruby is less forgiving of bad syntax.
So whiledosomething (a+b), c
used to work it now returns an error as it thinks the first () contains the argument[s] and the trailing ", c" is then 'wrong'...
dosomething a+b, c
will work [as long as the first argument can work without its ()]
BUT it's better to put all of a function's arguments inside (...)
so the better version is
dosomething((a+b), c)
Note how there should not be a <space> before the first enclosing (...
Didier has some scripts showing this type of error-message when used in v8.
Some are encrypted and can't be readily edited - howeverbalustrade.rb
is in plain-text and I have attached a version where all arguments are now correctly parenthesized [i.e. not just the 'problem' one]...balustrade_components.rb -
TIG
This is the error I receive with the modified file.
Thanks for your help.
Ken
-
Ken
Sorry about that... my mistake - the version is now corrected - please download it again...
-
Thanks for the update TIG, I have been keeping a lookout for any and all fixes to the SU8 problem. I do use this plugin but haven't tried since the update. Now I don't need to worry
-
@tig said:
Ken
Sorry about that... my mistake - the version is now corrected - please download it again...
TIG
I went thru the plugin to see if I could find the problem, however, I darn sure wasn't going to post a correction. Not even close to being that smart.
So thank you TIG
Ken
-
Thanks Ken
Another error has appeared...
I have corrected this new error - so please download the updated version again
http://forums.sketchucation.com/viewtopic.php?p=270788#p270788
which should now be sorted[Thanks Ken, again]
-
Thanks a lot, TIG, I use this script a lot.
-
So sorry, but steel not work for me. merci d'avance.
-
Doesn't work for me either. The component face of handrail doesn't extrude to the line path and generaly it "sees" only one part of polyline even after weld plugin. help please!
-
Thanks for the update.
-
Guys this does not show up at Sketchucation Plugin Store, though it's a great plugin!
Shouldn't it be there?
Best regards,
JQL
Advertisement