[Plugin] 2D Tools
-
Ok, figured it out. The 2D tools that don't work for me are these:
http://forums.sketchucation.com/viewtopic.php?t=21445v4.6 works fine. Are the plugins on the other thread an earlier build?
-
As Thomthom says v8 is more unforgiving of having only part of the arguments parenthesized - I will check my code and reissue to suit... B U T . . .
However, there is no occurrence of the textSketchup::set_status_text ("Length"), SB_VCB_LABEL
ANYWHERE in the current2DlineTool.rb
- it's always the correctly syntaxedSketchup::set_status_text((db"Length"),SB_VCB_LABEL)
???
So I am a bit mystified - do you have the correct version downloaded from the main page zip file... -
o_O
Peculiar. Though, I did find the syntax alien to be TIG's...
-
@thomthom said:
o_O
Peculiar. Though, I did find the syntax alien to be TIG's...It was 'wrong' in some older versions.... BUT not in the more recent ones - and they coincidentally suits v8 too............
-
Thank's a lot
Reg@rds Fred
-
Here's v4.7 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
The MAC TAB-key press glitch is trapped using key-up check instead of key-down in 2DlineTool.
MAC 'help' openURL glitch fixed. -
TIG
Some how I don't think this is what you wanted.
And thanks.
Ken
-
@unknownuser said:
TIG
Some how I don't think this is what you wanted.
And thanks.
KenKen - somehow the zip got messed up!
I'll post v4.7 again! -
v4.7 zip was messed up!
It's now fixed http://forums.sketchucation.com/viewtopic.php?p=185760#p185760 - please re-download...I know that it has been downloaded a few times in the corrupted form.
If you have it then either don't install it or if you already have done so, then please remove all of the 'wrong' files from thePlugins
folder...
Otherwise you'll get multiple toolbar-buttons etc...In the
Plugins
folder you should only have just two related files -deBableizer.rb
and2D#.rb
- AND also a2DTools
folder containing lots of things.Everything else with '2d' is their name [files (~22nr) and folders (2nr)] is wrong and needs removing.
The
CadFathersIcons.zip
file is also wrongly located and needs removing to tidy up.Also there will be a folder called
Icons
that unfortunately might have merged with other tools' folder of the same name - it does no harm to have the extra image files in there... BUT to tidy up remove any files in it with '2D' in their name - if that empties the folder then you can also delete that.Similarly the
Hatching
folder has been misplaced - it's unlikely to have merged - but check if it only contains image files starting with 'PATT' and a ReadMe.txt file - if so the whole folder can go...Sorry for this mess up...
-
confirmed, tab now works on mac.
i didn't know that's what tab was supposed to do. ha
that makes 2D tools even more awesomethank you
-
Hi Tig
I noticed the edit 2d text function no longer works in version 8.
The option to edit the text shows up in the context menu but doesn't pop up a dialog box.
This is the error I got.
Error: #<NameError: undefined local variable or methoddb' for TextTool2D:Class> 2DtextTool.rb:379:in
edit'
Running windows xp sp2Cheers
Brett -
When trying to use Edit 2D text I got this:
Error; #<NoMethodError; undefined method `db' for TextTool2D;Class> C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit' C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate' C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437;in `call' C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437
WinXP SP3
-
@brett mcallister said:
Hi Tig
I noticed the edit 2d text function no longer works in version 8.
The option to edit the text shows up in the context menu but doesn't pop up a dialog box.
This is the error I got.
Error: #<NameError: undefined local variable or methoddb' for TextTool2D:Class> 2DtextTool.rb:379:in
edit'
Running windows xp sp2
Cheers
BrettYou should have
deBabelizer.rb
in the Plugins folder. It's in the main zip file? -
@dedmin said:
When trying to use Edit 2D text I got this:
Error; #<NoMethodError; undefined method `db' for TextTool2D;Class> > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit' > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate' > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437;in `call' > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437 >
WinXP SP3
Not sure about the SectionCut error ???
You should havedeBabelizer.rb
in the Plugins folder. It's in the main zip file? -
v4,7 error... However, I have now managed to reproduce the glitch with v8 ... and v4.8 will be issued shortly ...
-
@tig said:
@dedmin said:
When trying to use Edit 2D text I got this:
Error; #<NoMethodError; undefined method `db' for TextTool2D;Class> > > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit' > > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate' > > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437;in `call' > > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437 > >
WinXP SP3
Not sure about the SectionCut error ???
You should havedeBabelizer.rb
in the Plugins folder. It's in the main zip file?Reinstalled the 4.7 and now the error is this:
Error; #<NoMethodError; undefined method `db' for TextTool2D;Class> C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit' C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate'
-
I've now got these new v8 errors trapped in '2D Text' and '2D Line Style' "edit" modes - see v4.8 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
Double checking that no other methods are rubbished by the less forgiving PC-Ruby in v8...
EDIT: There shouldn't be any others - but that's not to say you lot won't find something that's broken... keep looking
-
Thanks,TIG!
-
Hi TIG,
I'm always having this error too, even with the latest version. When setting the Z plane altitude for instance:
C;/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DzplaneTool.rb;59;in `onMouseMove' C;/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DzplaneTool.rb;59 Error; #<NoMethodError; undefined method `db' for #<Zplane2D;0x1285ba60>>
-
Thanks Didier...
I just knew that someone would have another problem!
It was a stupid typo on my part that hadn't been reported before...
Here's v4.9 that fixes the 'db' glitch in the 'Set Z-Plane' tool.!
http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
Advertisement