SketchUcation Premium Membership

 

 

[Plugin] Pen Tool + v1.5 (Update 16/4/2012)

[Plugin] Pen Tool + v1.5 (Update 16/4/2012)

Postby Rich O Brien » Wed May 18, 2011 12:27 pm

Pen Tool +

Overview:
To help when manually stitching softened meshes
To quickly creates curves with lines
To sketch guide lines, points
To create lines with or without faces

Description:
Similar to native Line Tool in use but has 7 primary features :-

PenTool_1.png


    [1] Soft Draw allows the sketching of softened/smoothened lines (Hidden Geometry On)

    [2] Hide Draw allows the sketching of hidden lines (Hidden Geometry On)

    [3] Guide Draw allows the sketching of guide lines

    [4] Weld Draw allows the sketching of curves

    [5] Edge Draw allows the sketching of edges [lines] without making faces

    [6] Line Draw allows the sketching of edges with faces

    [7] Point Draw allows the sketching of construction points

Usage:

Run via 'Draw' menu or via the 'Pen Tool +' toolbar


Requirements:
Tested on SU8 only (PC)

Installation:

Unzip and place both 'rob_hsltool' folder and 'Pen Tool +.rb' in Plugins folder.

Version 1.1
- VCB Fix
- Edge Draw added

Version 1.2
- Group/Component bug fixed
- Midpoint 'jumping' on intersection' fixed

Version 1.3
- Weld bug addressed (don't click too fast when using Weld Draw mode)

Version 1.4
- Line Draw and Point Draw added

Version 1.5
- Clash addressed



Pen Tools+ 1.5.zip


Many thanks goes to TIG for helping me out with this tool.
Please, register (free) to access all the attachments on the forums.
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby boofredlay » Wed May 18, 2011 12:36 pm

Nice. I especially like the Weld Draw. :thumb:
User avatar
boofredlay
Global Moderator
 
Posts: 9020
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 12:38 pm

It can be a bit funky but that's part of it's charm ;)
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby boofredlay » Wed May 18, 2011 12:45 pm

Funky already :D
I am getting artifacts with the Weld Line. See image.
Also when you close a loop with the weld line then push/pull the face the edges created by the operation are not all soften/smoothed.
I am running a PC with Windows 7.

Great start however.
I will be out the rest of the day so I won't be able to respond for a while.
Please, register (free) to access all the attachments on the forums.
User avatar
boofredlay
Global Moderator
 
Posts: 9020
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby thomthom » Wed May 18, 2011 12:50 pm

Well well well - Rich is becoming a scripting monkey. :D

I'll congratulate you by making a feature request: ;)
Tool that draws normal Edge.
The difference from the native Edge Tool: Doesn't auto generate faces. It can be bloody annoying at time that SketchUp keeps trying to generate faces for each edge created.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17919
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 12:53 pm

Well well well - Rich is becoming a scripting monkey


I wanna live the rock'n'roll life you enjoy
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby mitcorb » Wed May 18, 2011 1:39 pm

Congratulations, Rich.
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3429
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby SketchUpNoobie » Wed May 18, 2011 1:47 pm

Useful tool Rich. :thumb:
--

SketchUpNoobie: the complete noob in all things SketchUp.
SketchUpNoobie
 
Posts: 520
Joined: Thu May 06, 2010 4:00 pm
Location: Charlotte, North Carolina
Name: SketchupNoobie
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Beginner

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby Dave R » Wed May 18, 2011 1:49 pm

Good start Rich. You'll need to get some shades like ThomThom has. :D

So now the requests begin. If you enter a length for the line in the VCB, the line is drawn but the tool continues from the start point rather than the end. Is it possible to fix that so it behaves like the native Line tool? And you only get one shot at entering the length of the line so if you change your mind or make an error when typing the length, you have to Undo and start over. Can that be fixed to operate like the native Line tool? Maybe both things go hand in hand?
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9249
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 2:10 pm

shades like ThomThom has


what shades?

possible to fix that so it behaves like the native Line tool?


Yes, feel free to do so

Maybe both things go hand in hand?

Like peanuts and gum Dave
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby Dave R » Wed May 18, 2011 2:24 pm

Rich O'Brien wrote:
shades like ThomThom has


what shades?


Those things over his eyes. What are those things anyway?
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9249
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 2:26 pm

Eyebrows?

There's a fix coming on the VCB issue and an extra Edge Draw mode that doesn't create faces
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.0 (18/5/2011)

Postby jason_maranto » Wed May 18, 2011 2:28 pm

Very cool idea -- thank-you! :enlight:

Best,
Jason.
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto
 
Posts: 962
Joined: Thu Feb 04, 2010 7:57 pm
Location: Temple Terrace, FL - USA
Name: Jason Maranto
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: illustration, cartoons
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 3:32 pm

Little update with Thom's and Dave's suggestions [not Eric's :? ]
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Gaieus » Wed May 18, 2011 3:39 pm

Well, Rich, congrats, really. I remember when Remus also wrote a plugin - now "non-scripters" are slowly becoming a minority here... :roll:

I remember a wise man once answering this question:

Q wrote:Do you build or have you built any SketchUp Ruby Scripts?

like this...

A wrote:There are so many talented and generous ruby scripters out there that it would be a waste of resources to start playing with it and keep hindering them in their work with my basic questions...

And sorry for not having been able to me of more help - I have just come back home.

Nice icons, too!
;)
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27730
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 3:47 pm

Thanks Csaba, there are still some little gremlins [not Mike] to iron out
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Dave R » Wed May 18, 2011 3:50 pm

Thanks Rich.

Out of curiosity, is this what I should see when I open the ZIP file?
Please, register (free) to access all the attachments on the forums.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9249
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 3:58 pm

try again
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Dave R » Wed May 18, 2011 4:03 pm

Cool! 8-)
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9249
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby hebeijianke » Wed May 18, 2011 4:04 pm

Rich O'Brien wrote:try again

There something wrong
hebeijianke
 
Posts: 39
Joined: Tue Apr 28, 2009 2:01 am

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 4:10 pm

Bit more info?
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Ken » Wed May 18, 2011 4:20 pm

I use rollers, wheels and axles that I wish to add a guidelines though the center for alignment that will be part of the group. It would be nice, if I could draw a guideline between two points, maybe only 12" apart, and have the guide line that is drawn be the size as indicated in the measurement tool bar. So if I wanted to add a guideline to a wheel that is only 12" wide, however, I wish to have the alignment guideline to be 10' long, I could enter the 10' into the measurement tool bar, draw the line between the two center points that are only 12" apart, and have the guideline be drawn 10' long.

So thank you for you plugin.

Ken


OOPS. Didn't see that I could add the length to the guidelines in the VCB. My bad. So disregard the above.
Last edited by Ken on Wed May 18, 2011 4:25 pm, edited 1 time in total.
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 747
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby hebeijianke » Wed May 18, 2011 4:22 pm

Rich O'Brien wrote:Bit more info?

Weld Draw is not work well
hebeijianke
 
Posts: 39
Joined: Tue Apr 28, 2009 2:01 am

Re: [Plugin] Pen Tool + 1.1 (18/5/2011)

Postby Dave R » Wed May 18, 2011 4:41 pm

Weld Draw is working fine for me. It all works fine except my second request. But, beggars can't be choosers so I'm not complaining.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9249
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.2 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 5:00 pm

Version 1.2 (remove old before installing)

thanks to TIG for tweaking again for squashing some bugs.

See first post for latest.
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.2 (18/5/2011)

Postby Dave R » Wed May 18, 2011 5:10 pm

Now Weld Draw doesn't seem to draw welded edges.

Soft Draw will convert unsoftened edges to softened but doesn't draw softened wedges from the start.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9249
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.2 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 5:15 pm

It seems it's only welding when aligned to an axis? Can you confirm?
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.2 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 5:16 pm

No, it seems to toggling on/off....strange? TIG?
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.2 (18/5/2011)

Postby Dave R » Wed May 18, 2011 5:18 pm

It isn't even Friday the 13th.
Inspecting mirrors is a job I could easily see myself doing.
User avatar
Dave R
Global Moderator
 
Posts: 9249
Joined: Tue Nov 13, 2007 11:52 pm
Location: SE Minnesota
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Advanced

Re: [Plugin] Pen Tool + 1.3 (18/5/2011)

Postby Rich O Brien » Wed May 18, 2011 9:46 pm

Updated to v1.3

Note:
Weld Draw does not draw welded loops. It will also split if it intersects with any edge and get a little funky. It's primary function it to create a simple curve from drawn edges[lines]
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8424
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next

Return to Plugins

Who is online

Users browsing this forum: Arrow777, awhite344, bicocam, caramulo, Dave R, helldarc and 11 guests