[Plugin] 2D Tools
-
@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
-
@tig said:
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.Google, stop trying to compete with TIG!!!
-
Tig, thanks again for your wonderful work, daily updates and your "instant" answers!
A suggestion : an "adjust" tool (instead of the requested "extend").
ArchiCAD has such a tool and I use it very often.
It works like that:- select an entity (line, arc, poly-line, etc.)
- choose the "adjust" tool
- pick another 2D entity (line, arc, circle, poly-line, etc), or draw a line
- the selected 2D entity then is "adjusted" to the last one (shortened if it's longer, extended if it's shorter)
I don't know if it's hard to add this to your tools, but it would be very useful to me (and many others, I dare to think).
-
Dan
The 2D Fillet Tool also acts as a Trim Tool or an Extend Tool - when its value=0.
By default its radius/chamfer value=0.
Run the 2D Fillet Tool.
Pick two Edges.
Assuming they intersect...
If they are long they are Trimmed
If they are short they are Extended.
If the Edge owns more that one Face it is not Trimmed as that would destroy the Face !
It works on Lines, Polylines, Arcs etc...
However, it doesn't remake Arcs to Extend them to the new intersection - just changes the last segment length...
What is the difference between this and what you suggest ? I can only see it's this Arc remaking ? -
Wow, I really like the trim extend functionality.
It's funny these tools sort of started with my request for a way for my boss (who is learning SU) to draw in 2d. -
TIG excellent, had not noticed this tool to expand.
If you could achieve to work with arc that would be excellent. -
Tig, thanks for your so fast and explicit reply!
I know what fillet tool can do (and I didn't entirely read your the help file ).
Truth is that I never tried to extend an arc... but I think that's a SU limitation, knowing that they are approximated by segments.But what I forgot to add to my previous post is that ArchiCAD "adjust" tool can be applied to more that one 2D entity: one can select as many lines or arcs, etc. at once and they will trim or extend all together and, if boundary line doesn't exist, one can draw an imaginary one.
I hope this make sense.Actually, a set of real 2D Tools are something I was "officially" asking each time I was in the beta tester team, from @Last to Google, and yours are a major step forward.
-
What you are asking for is an Trim/Extend like CAD where you select the Line(s) etc to Trim/Extend to and then the ones to be edited. The first set doesn't change (unless it's also in the second set !), the second set is adjusted as expected - extending/trimming to the projection of a selected line if appropriate...
In CAD many users use Fillet as a Trim/Extend Tools by setting the value=0 and working on just 2 picked Edges.
The separate Trim/Extend works as outlined above...I'll think about a separate Tool...
-
Here's v2.7 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
New 2D Polygon Tool added. Similar to 2D Circle BUT can specify number of Sides NNs, length of a Side NNNx OR Radius NNN etc... 2D Circle tool alignment to second-picked point corrected. Help files updated. New tool's Icons added - also CADfather's alternative set updated temporarily until he adds his own...
-
Here's v2.8 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
2D Circle and 2D Polygon adjusted - Rotation of 'ghost' ngon/circle drawn as you look to pick the second-point now matches the final one - with vertex at second-point picked...
-
When snapping to midpoint and click, the cursor jumps to the midpoint of the resulting segment
-
@dan said:
...that ArchiCAD "adjust" tool...
Indeed, it's a CAD-like tool.
I use it in ArchiCAD very often, as I said, and I think it would expand SU poor native 2D possibilities even further.Thanks for updating and for your hard work, generally!
-
@dedmin said:
When snapping to midpoint and click, the cursor jumps to the midpoint of the resulting segment
http://www.youtube.com/watch?v=IstNF3U73n0This is a mystery ! I recently added the line inferencing stuff. It seems to work for all other snaps, but as you make multiple segment lines it needs to make a 'leapfrog', making ipoint1 ipoint2, clear ipoint2 etc. For some reason I haven't fathomed if the last snap was the midpoint of an edge then the copy! of the ipoint1 knows it's the mid-point of that edge BUT since that edge has been 'halved' it moves to the edge's new mid-point ... I think I have a fix...
-
Here's v2.9 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
2D Line mid-point inference glitch fixed.
-
I can't wait for 2D Tools v3.0
This is the most updated plugin. And the shortest time betwen versions. Google Team could learn something from here... Thank you TIG!
Advertisement