[Plugin] SCF PowerToolbar (09.Sep.2010)
-
@driven said:
has any one got this fully running on a mac??
i get this error, functionality of some of the tools
john
Don't know if this is still an issue for anyone, but you can find a patched version that works for me.
I changed line 4921if (n1.between? (n2 - interval), (n2 + interval))
to
if ( n1.between?((n2 - interval), (n2 + interval)) )
.
I'm running mac os x 6, SketchUp 7 (7.1.6859)
-
Errors in [Plugin] SCF PowerToolbar v1
The errors are caused by poor programming style.
If you run SU7 Mac (with Ruby 1.8.5-p0) OR run SU7 on PC AND have updated your Ruby interpreter DLL to Ruby 1.8.5 or higher, then certain "typos" are no longer permitted by the Ruby interpreter.
` %(black)[cd_power_extension_m.rb
Line 4921:]if (n1.between? (n2 - interval), (n2 + interval))
* move first "(" just after "between?" and before "(n2", so it replaces the space character. Like:
if n1.between?((n2 - interval), (n2 + interval))`
` %(black)[cd_power_m.rb
- same fix as above, .. replace Line 4921]
if (n1.between? (n2 - interval), (n2 + interval))
with:
if n1.between?((n2 - interval), (n2 + interval))`
` %(black)[cutting_windows.rb
fix Line 610:]
faces_and_heights[0.pushpull (faces_and_heights[1]), false]
* add parenthesis around pushpull method's argument list, ie:
faces_and_heights[0.pushpull( (faces_and_heights[1]), false )]`
What is happening, is that:
- Ruby is getting confused as to what are method argument lists, and what are arguments (delimeted with parenthesis,) within the arguemnt list.
- For best practice in later Ruby versions, all methods should have parenthesis around the whole argument list, with NO space between end of method name and the left parenthesis of it's argument list.
- If a method has no args, speed up Ruby by passing an empty arg list, like so:
%(darkred)[*obj*.method_name()]
- same fix as above, .. replace Line 4921]
-
Don't work with sketchup 8.
-
i'm hoping to fix the bugs soon..
-
try to replace it with haroldcampbell attachments
-
Don't work with sketchup 8.
help me? -
I get this error after installing the power toolbar. Did I do something wrong, is there something else I need?
-
ok, wrong lines have been changed - hope it still works.
-
Could you add a Last Updated timestamp to your original post? Makes it easier to catch any updates when you browse the plugins.
-
@cadfather said:
ok, wrong lines have been changed - hope it still works.
Is there something I can do to fix this or do I need to uninstall it? It still works but is aggravating !
-
Thom, you mean in the subject, or just the post?
@ humpmetwice, i don't think this has to do with SCF-PB - take out all your plugins then install PB, if it works then you know..
-
@cadfather said:
Thom, you mean in the subject, or just the post?
At least the subject - since that appears when you browse the forum and also in Jim's index.
-
yes of course.. done.
-
where is the new guy?
-
How do we can unpack the main file to edit it ? is it possible to unpack a code ? can you upload a unpacked version ?
-
thankkkkkkkkkkkkkkkkkkkk
-
I've try on SU8.0 PRO.that's no problem.
-
so cool, thank U
-
I've edited the download page - with a warning about 'rogue files' inside the zip!
CADfather, can you please sort out this issue, which can break some other tools and cause other problems - the older files [sketchup.rb
andextensions.rb
] supplied in the zip should NEVER be put into the Plugins folder. In all recent versions of Sketchup newer versions of those files come pre-installed in the Tools folder, so having these duplicates just messes things up - sometimes so subtly it causes hours of searching to find what's up! -
sure, i'll post an update very soon
Advertisement