[Plugin] 2D Tools
-
-
Hi TIG!
Great new tools, thank you!
Just one thing I've changed in your plugin... I don't like to put plugins in the plugins folder... So I made my script withs relative pathes.
If you want I can tell you where you pathes are absolute... -
Here's v2.5 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
Clipping fixed with Tool.getExtents thanks to NewOne's idea. +
-
Tig
Any plans for a double line ?
agrazdi
-
The more I use this toolset, the more I love it. I had to do a quick cross section of a roof detail yesterday to apply for permits on an upcoming build. Instead of CAD, I was able to do it all in Sketchup using 2D tools. Putting the line style changes on their own layer to be toggled on and off, is brilliant. You can do preliminary plan view drawings with line styles, then shut them off and proceed with the 3D modeling. Another great thing about Line Styles......they are renderable!!
It would be nice to incorporate Matt's extend tool into the toolset. Also making an extend tool for an arc would be brilliant. So often I have to try and continue and existing arc to a line and it usually requires finding the center point, using TOS to draw a Cline Circle, then snapping the arcs bulge to it, as tangent snaps isn't always reliable. Another way is to explode the curve, find center point and rotate a section around, but if it could be streamlined into a Arc extend tool, that would great.
One other request would be the ability to have leader text that doesn't change size when your scroll in and out. Perhaps there is a setting to change this that I don't know about??? Perhaps an improved leader text tool for 2D tools would be in order.
-
I cant see any snapping points when using the line tool. Bug?
-
@earthmover said:
One other request would be the ability to have leader text that doesn't change size when your scroll in and out. Perhaps there is a setting to change this that I don't know about??? Perhaps an improved leader text tool for 2D tools would be in order.
Set your text size to be a value in inches, rather than point size.
Window > Model Info > Text > Font Size.
Set it for a value in inches and it will be constant. In points it will move zoom with the zoom.
-
TIG,
Just started to use the tools and all I can say is that they are wonderful. Thank you so much.
One problem I'm having is getting the hatching command to work. Does not want to initialize, no dialog box, etc.
Ben
-
@ben ritter said:
TIG,
Just started to use the tools and all I can say is that they are wonderful. Thank you so much.
One problem I'm having is getting the hatching command to work. Does not want to initialize, no dialog box, etc.
Ben
After hatching has been run once you should get it opening without a dialog, with the last set 'patt' reported on the VCB, right-click in empty-space to get the dialog up to change the 'patt'. Otherwise please run with ruby console open and report error messages...
-
@pixero said:
I cant see any snapping points when using the line tool. Bug?
There aren't any ! Might add some ???
-
2D text has no 'leaders' - it's easy enough to add one as a 2D polyline between the text and the required point. If you want an arrow or 'dot' then add say a text 'point' at the end ?
-
@tig said:
@ben ritter said:
TIG,
Just started to use the tools and all I can say is that they are wonderful. Thank you so much.
One problem I'm having is getting the hatching command to work. Does not want to initialize, no dialog box, etc.
Ben
After hatching has been run once you should get it opening without a dialog, with the last set 'patt' reported on the VCB, right-click in empty-space to get the dialog up to change the 'patt'. Otherwise please run with ruby console open and report error messages...
TIG,
I click on the tool and nothing happens. The ruby console says, "Cancelled 2d Hatching". That's all it says.
-
Tig,
Thank you for ruby, well done.Everything appears to work except for 2D Hatching and Text.
I am unable to activate the 2D Hatching or Text.
Operating system Windows 2000.Here is the ruby consule output for the attempts on Hatching and Text:
Cancelled 2D Hatching.
Cancelled 2D Hatching.
Error: #<NoMethodError: undefined methodrefresh_thumbnail' for #<Sketchup::ComponentDefinition:0x74ebee0>> C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:126:in
activate'
C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:inselect_tool' C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:in
texttool2D'
C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130
C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130:in `call' -
-
@ben ritter said:
I click on the tool and nothing happens. The ruby console says, "Cancelled 2d Hatching". That's all it says.
A mystery ! Please give me details of SUp version, OS etc...
But first can you also try typing/pasting this command into the ruby console to see what happens...hatchingtool2D
The only tile you get the "Cancelled 2d Hatching" message is if you open the dialog and then cancel the dialog, the tool is cancelled too...
Does this problem happen on a 'brand new' and 'empty' model and/or existing ones ?
With the ruby console open, if you pick on the tool from the toolbar or menu do you get the cancelled message immediately ? What does the VCB say ? What materials do you have in the Materials Browser ? Any 'PATT' ones ?I shall get to the bottom of this
-
@facer said:
Everything appears to work except for 2D Hatching and Text.
I am unable to activate the 2D Hatching or Text.
Operating system Windows 2000.
Here is the ruby console output for the attempts on Hatching and Text:
Cancelled 2D Hatching.
Cancelled 2D Hatching.
Error: #<NoMethodError: undefined methodrefresh_thumbnail' for #<Sketchup::ComponentDefinition:0x74ebee0>> C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:126:in
activate'
C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:inselect_tool' C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2DtextTool.rb:343:in
texttool2D'
C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130
C:/Program Files/Google/Google SketchUp 6/Plugins/2Dtools/2D#loader.rb:130:in `call'See my recent reply to Ben Ritter who has similar problems with Hatching...
Can you give me a few more details about the SUp version etc...
I suspect you are using an earlier version of SUp that doesn't supportdefinition.refresh_thumbnail
?
I'll look into it... -
thanks a lot TIG . u r amazin
-
Here's v2.6 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
Line inferencing and tooltips improved.
Circle VCB messages improved or corrected.
Hatching error/glitch fixed.
Text error with SUp v<7 fixed. -
gosh! there is no limit to how much you can improve your plugins. i may have said this before, tig, but you are a great asset to this community.
-
@tig said:
@ben ritter said:
I click on the tool and nothing happens. The ruby console says, "Cancelled 2d Hatching". That's all it says.
A mystery ! Please give me details of SUp version, OS etc...
But first can you also try typing/pasting this command into the ruby console to see what happens...hatchingtool2D
The only tile you get the "Cancelled 2d Hatching" message is if you open the dialog and then cancel the dialog, the tool is cancelled too...
Does this problem happen on a 'brand new' and 'empty' model and/or existing ones ?
With the ruby console open, if you pick on the tool from the toolbar or menu do you get the cancelled message immediately ? What does the VCB say ? What materials do you have in the Materials Browser ? Any 'PATT' ones ?
I shall get to the bottom of this
TIG,
Tried v 2.6 and same happens.
In the ruby console, tried your suggestion:
hatchingtool2D
Cancelled 2D Hatching.
#Sketchup::Model:0x5047f78I'm running SU 6.4.112, XP Professional Service Pack 3, brand new model, just the default texture. With ruby console open, I get the message immediately, nothing in the VCB.
Thanks for checking into it. Ben
Advertisement