SketchUcation Premium Membership

 

 

[Locked] 2D Toolset - Use Newer Version Link

Re: [Plugin] 2D Toolset - Update 090828

Postby TIG » Fri Aug 28, 2009 3:15 pm

Here's another update - with potential $exStrings problem circumvented...
viewtopic.php?p=180259#p180259
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby TIG » Fri Aug 28, 2009 11:43 pm

Here's this morning's update with improve undo for 2D polyline/curves etc...
viewtopic.php?p=180259#p180259
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby honoluludesktop » Sat Aug 29, 2009 5:26 am

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 :-)
User avatar
honoluludesktop
In Remembrance
 
Posts: 2219
Joined: Fri Sep 12, 2008 12:08 am
Location: Hawaii

Re: [Plugin] 2D Toolset - Update 090829

Postby anglaret » Sat Aug 29, 2009 7:26 am

Thanks TIG,
it is very interesting that somebody care about 2D.I work a lot in 2d
The hatch tool is very nice

I 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 drawn

In 3 clicks you draw a door
Marc
anglaret
 
Posts: 122
Joined: Mon Nov 19, 2007 12:01 pm
Location: normandie

Re: [Plugin] 2D Toolset - Update 090829

Postby Edson » Sat Aug 29, 2009 1:14 pm

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.
Please, register (free) to access all the attachments on the forums.
edson mahfuz, architect
http://www.mahfuz.arq.br

Anyone can get you more for more, but it takes genius to get you more for less.
User avatar
Edson
Global Moderator
 
Posts: 2656
Joined: Mon Oct 22, 2007 1:46 pm
Location: Porto Alegre, Brasil
Name: Edson Mahfuz
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby TIG » Mon Aug 31, 2009 8:02 pm

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
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby anglaret » Mon Aug 31, 2009 9:07 pm

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 SU

Marc
anglaret
 
Posts: 122
Joined: Mon Nov 19, 2007 12:01 pm
Location: normandie

Re: [Plugin] 2D Toolset - Update 090829

Postby Edson » Mon Aug 31, 2009 9:17 pm

TIG wrote: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.
edson mahfuz, architect
http://www.mahfuz.arq.br

Anyone can get you more for more, but it takes genius to get you more for less.
User avatar
Edson
Global Moderator
 
Posts: 2656
Joined: Mon Oct 22, 2007 1:46 pm
Location: Porto Alegre, Brasil
Name: Edson Mahfuz
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby TIG » Mon Aug 31, 2009 11:45 pm

anglaret wrote: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 SU

Marc

I intend that they'll be something like that in v2... :arrow:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby honoluludesktop » Tue Sep 01, 2009 12:02 am

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.
User avatar
honoluludesktop
In Remembrance
 
Posts: 2219
Joined: Fri Sep 12, 2008 12:08 am
Location: Hawaii

Re: [Plugin] 2D Toolset - Update 090829

Postby TIG » Tue Sep 01, 2009 12:06 am

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...
:idea:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090827

Postby Fletch » Tue Sep 01, 2009 1:36 am

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.
Fletch
Twilight Render
 
Posts: 760
Joined: Wed Nov 14, 2007 1:02 am
Location: Milwaukee, WI USA / Rovinj, Croatia

Re: [Plugin] 2D Toolset - Update 090829

Postby utiler » Tue Sep 01, 2009 2:33 am

Hi TIG, downloaded the latest 2Dtoolset and having a play....
I noticed a few things that you may wish to review:

1. 2D Polyline doesn't acknowledge when it is on an axis. [change to green or red and tooltip to say "On Green axis"]
2. 2D Arc doesn't reference axises at all.
3. 2D circle doesn't acknowledge when it is on an axis either. [as per 2D polyline]


Wishlist
1. Arc to recognize tangents
2. Can 2D rectangle produce a closed entity?

Well done, mate, this is a great addition to GSU!!! :sketchstatic:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: utiler
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby TIG » Tue Sep 01, 2009 10:16 am

utiler wrote:Hi TIG, downloaded the latest 2Dtoolset and having a play....
I noticed a few things that you may wish to review:

1. 2D Polyline doesn't acknowledge when it is on an axis. [change to green or red and tooltip to say "On Green axis"]
2. 2D Arc doesn't reference axises at all.
3. 2D circle doesn't acknowledge when it is on an axis either. [as per 2D polyline]


Wishlist
1. Arc to recognize tangents
2. Can 2D rectangle produce a closed entity?

Well done, mate, this is a great addition to GSU!!! :sketchstatic:


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...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby utiler » Tue Sep 01, 2009 12:12 pm

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. :thumb:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1927
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: utiler
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby TIG » Tue Sep 01, 2009 1:14 pm

utiler wrote: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. :thumb:

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 ?
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby Bep » Tue Sep 01, 2009 8:54 pm

Hi Tig

Maybe this code wil be helpfull: http://old.blog.edu.cn/user2/autool/arc ... 4892.shtml

Greetings, Bep
Bep
 
Posts: 199
Joined: Thu Nov 15, 2007 8:36 pm
Location: Brunssum Netherlands 50°56'40.91"N 5°58'55.97"O
Name: Bep van Malde
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Intermediate

Re: [Plugin] 2D Toolset - Update 090829

Postby TIG » Tue Sep 01, 2009 11:16 pm

Thanks for the ideas...
:idea:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 090829

Postby Jim » Wed Sep 02, 2009 12:01 am

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, or add_ngon (etc) jf_autocenterpoint should work.
Jim
Global Moderator
 
Posts: 4126
Joined: Mon Nov 12, 2007 10:13 pm
Location: NEOH
Name: Jim
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] 2D Toolset - Update 20090829

Postby sjschloeder » Mon Nov 08, 2010 9:04 pm

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.
Please, register (free) to access all the attachments on the forums.
sjschloeder
 
Posts: 7
Joined: Tue Jun 30, 2009 10:50 pm

Re: [Plugin] 2D Toolset - Update 20090829

Postby TIG » Mon Nov 08, 2010 9:09 pm

This is the know 'problem' with v8 that is very intolerant of un-parenthesized arguments that used to work fine in v7... :roll:
I thought I had them all trapped - I revisited the code...
:enlight: :idea:
I've just realized that this is a very old version here's the latest set [v5]... viewtopic.php?p=185760#p185760
Please download these and retry - I'll 'block' the older version...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 20090829

Postby 3dDetailer » Tue Dec 27, 2011 8:49 pm

Hello Tig. I'm a little confused about the difference between these two threads, as they both are related to a 2d Toolset.

viewtopic.php?f=323&t=22091

and this thread.

Is this 2d Toolset different than the set in the first thread? Or is it simply the latest version. I downloaded the set in the first thread. If I download the set in this thread, will it update the first one? Or am I simply confused...which wouldn't be the first time.

confusingly
fitZ
3dDetailer
 
Posts: 50
Joined: Thu Dec 22, 2011 10:52 pm

Re: [Plugin] 2D Toolset - Update 20090829

Postby TIG » Tue Dec 27, 2011 11:25 pm

The OTHER thread is where you can download the latest toolset - from the first post.
This old thread is just hanging around !
A new thread was made when there was a major seed change in the toolset ~2 years ago...
I have previously edited the first post in this thread [ viewtopic.php?p=180259#p180259 ] to link you to the latest version...
One clue is in the titles... this one says 20090829 and the other one says 20111201 - making it far newer!
Use the OTHER ONE ! :roll:
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] 2D Toolset - Update 20090829

Postby betod » Wed Aug 15, 2012 12:13 am

tig how are you and thanks for your help !! do you know how to make wiring in 2d and 3d in sketchup , you know like in autocad the doted line??
betod
 
Posts: 2
Joined: Tue Aug 14, 2012 11:47 pm
Name: Beto dominguez
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Intermediate

Re: [Plugin] 2D Toolset - Update 20090829

Postby TIG » Wed Aug 15, 2012 10:30 am

betod wrote:tig how are you and thanks for your help !! do you know how to make wiring in 2d and 3d in sketchup , you know like in autocad the doted line??

Please post in the active thread viewtopic.php?p=185760#p185760
I've now locked this topic to force people to use the correct one...
The LineStyle tool allows you to make dotted/dashed lines of different thicknesses and color etc in 3d as well as 2d. However for considerable styled line work why not use Layout available with Pro which adds many of the functions of 2d CAD drafting to linked SKP views etc...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13987
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Not a Premium Member yet? Check out the great time-limited deal we are offering.

Ad Machine
Robot
 
Posts: 2012

Previous

Return to Plugins

Who is online

Users browsing this forum: bengreasley, entity66, erms, mp1963, noro, prillyjv, stefanq and 13 guests