[Locked] 2D Toolset - Use Newer Version Link
-
Here's this morning's update with improve undo for 2D polyline/curves etc...
http://forums.sketchucation.com/viewtopic.php?p=180259#p180259 -
TIG, So far so good, NO Great! If you get around to expanding the software set, how about triming; both, to the intersection of, and in reference from
-
Thanks TIG,
it is very interesting that somebody care about 2D.I work a lot in 2d
The hatch tool is very niceI have a tedious problem with drawing doors, and I remember asking Google
to put in SU the "pie" tool that exists in Layout:
click on a point, go to the distance you like, click again than you can draw
a pie : radius is fixed, and 2 sides of the pie are drawnIn 3 clicks you draw a door
Marc -
hi tig,
it is not working for me. i followed your instructions but something is not right. can you help me? what do you mean by "The 2D#.rb needs to load before the others to make the sub-menu and toolbar..."? what can i do for it to happen? thanks.
2 images attached: one with the error message i get, the other showing the files i heve on my plugins folder.
-
Edson
You are Mac ? I'll investigate... I doesn't like the status_text ??? Seems that if first part is in () the second after the ',' confuses it ! BUT not on a PC - I'll ensure the update avoids that possibility...
I am working on v2.0 which is quite different, so that might avoid the problem - perhaps needs a day or two...
Please hang in there...
-
Tig
I would be more precise
In Layout tools/arc/pie; is a brillant and simple tool that draw doors from above
I would be very very grateful for that tool in SUMarc
-
@tig said:
Edson
You are Mac ? I'll investigate... I doesn't like the status_text ??? Seems that if first part is in () the second after the ',' confuses it ! BUT not on a PC - I'll ensure the update avoids that possibility...
I am working on v2.0 which is quite different, so that might avoid the problem - perhaps needs a day or two...
Please hang in there...
yes, tig, i am on mac. thanks for looking into this. this promises to be one more of your greatly useful plugins.
-
@anglaret said:
Tig
I would be more precise
In Layout tools/arc/pie; is a brillant and simple tool that draw doors from above
I would be very very grateful for that tool in SUMarc
I intend that they'll be something like that in v2...
-
TIG, Out of curosity, how much time did it take you do do the plugin? Did you have templates to work from? As a retired amature programmer (pre OOPS), I find this kind of coding compact. Maybe I could learn something about ruby if you documented a little:-), or maybe I am just a old dog that can't:-( Good work.
-
I took a few hours to get the first code out - look at the early exchanges with Jim -I based it on several pre-existing ideas... it then grew 'like topsy'... So far it's taken a couple of days to get where we are, on and off - I was away this weekend 'resting' and had T some better ideas for v2 that will be out soonest...
-
TIG,
I have wished for these tools since like the first day of using SketchUp!
Now SU can be an illustration tool too (I use it for this sometimes, logo design, etc.)
But now also I can trace these freaky CAD plans that look like they are flat but they are not, etc.THANKS A MILLION... you are a legend in your own time.
-
Hi TIG, downloaded the latest 2Dtoolset and having a play....
I noticed a few things that you may wish to review:- 2D Polyline doesn't acknowledge when it is on an axis. [change to green or red and tooltip to say "On Green axis"]
- 2D Arc doesn't reference axises at all.
- 2D circle doesn't acknowledge when it is on an axis either. [as per 2D polyline]
Wishlist
- Arc to recognize tangents
- Can 2D rectangle produce a closed entity?
Well done, mate, this is a great addition to GSU!!!
-
@utiler said:
Hi TIG, downloaded the latest 2Dtoolset and having a play....
I noticed a few things that you may wish to review:- 2D Polyline doesn't acknowledge when it is on an axis. [change to green or red and tooltip to say "On Green axis"]
- 2D Arc doesn't reference axises at all.
- 2D circle doesn't acknowledge when it is on an axis either. [as per 2D polyline]
Wishlist
- Arc to recognize tangents
- Can 2D rectangle produce a closed entity?
Well done, mate, this is a great addition to GSU!!!
Your items are already on the list for v2, as is wish 1. Wish 2 - we could make it a modifier key - e.g. raw rectangle is lines, with alt key it's a loop...
-
Or Ctrl key for the loop; not sure what is the 'norm' for use of shift/Alt/Ctrl keys when it comes to GSU....
I just find the physical location of Ctrl is easier to get used to than Atl; even considering Alt implies alternative...Anyway, glad it is on the radar.
-
@utiler said:
Or Ctrl key for the loop; not sure what is the 'norm' for use of shift/Alt/Ctrl keys when it comes to GSU....
I just find the physical location of Ctrl is easier to get used to than Atl; even considering Alt implies alternative...Anyway, glad it is on the radar.
I said Alt because it's an 'Alt'ernative to the normal that you'd toggle between [?] and I was thinking of using Ctrl for some other things like toggling between real_lines and Construction_guide_lines or for Arcs with Alt = Alternatives to reverse A-rc_direction and then Ctrl = make by_Center rather than 3_point ? Also Ctrl with Circle is to tooggle between 3_point and center+radius whilst Alt toggles between Radius or Diameter ?
-
Hi Tig
Maybe this code wil be helpfull: http://old.blog.edu.cn/user2/autool/archives/2006/1604892.shtml
Greetings, Bep
-
Thanks for the ideas...
-
I had the same thought about 2D radius - extracting the 2D radius/chamfer ; extend/trim lines from k-tools was on my shortlist of things to do. But it would fit in well in your 2D Tools.
Also, I am modifying my automatic centerpoints plugin so it will work with the circles and arcs created with this (or any other) ruby tools. As long as you continue to use
add_circle
,add_arc
, oradd_ngon
(etc) jf_autocenterpoint should work. -
Hi TIG : I got an error message perhaps you can help me with. I downloaded the 2d Toolset to the downloads folder (Win 7 with SU8), then extracted everything directly to Google>Sketchup8>Plugins. When I restarted SU I got this:
Error Loading File 2D#.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DlineTool.rb:33: syntax error, unexpected ',', expecting kEND
Sketchup::set_status_text ("Length"), SB_VCB_LABEL
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DlineTool.rb:71: syntax error, unexpected ',', expecting kEND
..."2D Line: Select Second End"), SB_PROMPT
^Error Loading File 2DarcTool.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DlineTool.rb:33: syntax error, unexpected ',', expecting kEND
Sketchup::set_status_text ("Length"), SB_VCB_LABEL
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DlineTool.rb:71: syntax error, unexpected ',', expecting kEND
..."2D Line: Select Second End"), SB_PROMPT
^Error Loading File 2DcircleTool.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DcircleTool.rb:37: syntax error, unexpected ',', expecting kEND
Sketchup::set_status_text ("Radius"), SB_VCB_LABEL
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DcircleTool.rb:83: syntax error, unexpected ',', expecting kEND
...ircle: Select Point on Side"), SB_PROMPT
^Error Loading File 2DfacemakerTool.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DfacemakerTool.rb:53: syntax error, unexpected ',', expecting kEND
...inside a Loop to Add a Face"), SB_PROMPT
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DfacemakerTool.rb:61: syntax error, unexpected ',', expecting kEND
...inside a Loop to Add a Face"), SB_PROMPT
^Error Loading File 2DhatchingTool.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DhatchingTool.rb:74: syntax error, unexpected ',', expecting kEND
... Loop to Add a Hatched Face"), SB_PROMPT
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DhatchingTool.rb:88: syntax error, unexpected ',', expecting kEND
... Loop to Add a Hatched Face"), SB_PROMPT
^Error Loading File 2DlineTool.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DlineTool.rb:33: syntax error, unexpected ',', expecting kEND
Sketchup::set_status_text ("Length"), SB_VCB_LABEL
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DlineTool.rb:71: syntax error, unexpected ',', expecting kEND
..."2D Line: Select Second End"), SB_PROMPT
^Error Loading File 2DpolylinecurveTool.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DpolylinecurveTool.rb:39: syntax error, unexpected ',', expecting kEND
Sketchup::set_status_text ("Length"), SB_VCB_LABEL
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DpolylinecurveTool.rb:87: syntax error, unexpected ',', expecting kEND
...ne Curve: Select Next Point"), SB_PROMPT
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DpolylinecurveTool.rb:121: syntax error, unexpected ',', expecting kEND
...ne Curve: Select Next Point"), SB_PROMPT
^Error Loading File 2DpolylineTool.rb
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DpolylineTool.rb:39: syntax error, unexpected ',', expecting kEND
Sketchup::set_status_text ("Length"), SB_VCB_LABEL
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DpolylineTool.rb:87: syntax error, unexpected ',', expecting kEND
... Polyine: Select Next Point"), SB_PROMPT
^
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/2DpolylineTool.rb:121: syntax error, unexpected ',', expecting kEND
...Polyline: Select Next Point"), SB_PROMPT
^I see you said something about "The 2D#.rb needs to load before the others to make the sub-menu and toolbar..." but I don't know how to force that, if that is the problem. My plugin folder looks like this now:
Thanks for any help.
-
This is the know 'problem' with v8 that is very intolerant of un-parenthesized arguments that used to work fine in v7...
I thought I had them all trapped - I revisited the code...
I've just realized that this is a very old version here's the latest set [v5]... http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
Please download these and retry - I'll 'block' the older version...
Advertisement