[Plugin] Pen Tool + v1.6.0

[Plugin] Pen Tool + v1.6.0

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

Pen Tool +

NOTE: If upgrading from 1.5 to 1.6.0 pleae delete the Pen Tool+.rb file and rob_hsltool folder from your plugins folder.

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:

Use PluginStore in AutoInstall or grab the .rbz file from the online store.
NOTE: If upgrading from 1.5 to 1.6.0 pleae delete the Pen Tool+.rb file and rob_hsltool folder from your 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

Version 1.6.0

- Added Extension compatibility and custom folder goodness

Many thanks goes to TIG for helping me out with this tool.
2
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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:
0
User avatar
boofredlay 
Global Moderator
 

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 ;)
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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.
0
User avatar
boofredlay 
Global Moderator
 

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.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

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
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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

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

Congratulations, Rich.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

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

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

Useful tool Rich. :thumb:
0
--

SketchUpNoobie: the complete noob in all things SketchUp.

SketchUpNoobie 
 

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?
0
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

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
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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?
0
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

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
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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.
0
I create video tutorial series about several 2D & 3D graphics programs.
User avatar
jason_maranto 
 

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 :? ]
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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!
;)
0
User avatar
Gaieus 
Administrator
 

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
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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?
0
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

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

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

try again
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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

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

Cool! 8-)
0
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

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
0

hebeijianke 
 

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

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

Bit more info?
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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.
0
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
 

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
0

hebeijianke 
 

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.
0
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

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.
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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.
0
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

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?
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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?
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

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.
0
Inspecting mirrors is a job I could easily see myself doing.

3 out 4 people make up 75% of the population.
User avatar
Dave R 
Global Moderator
 

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]
0
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien 
Administrator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: Google Bot, huang3113, matthro, mybunnykwtz, neshxy, sivag44 and 11 guests

Visit our sponsors: