Plugin: Construction Line Tool

I can't take any credit for this one. It is the linetool.rb that comes with SketchUp. All I did give it a toolbar, a menu entry, and packaged it up.

History

2009-07-12 - The construction points are not overlayed added. (Henry Schorradt)
07/19/08 - Use the Ctrl key to toggle creation of construction points. Modify length of last drawn line in VCB.
06/09/08 - Updated to draw the lines in the current active context - when editing a Group, for example. Thank again, John.

06/08/08 - Updated to use John Clements' Toolbar icon
Thanks John!
02/14/08 - Added a Toolbar button for convenience.
02/22/08 - Fixed small bug ($exString undefined)
03/02/08 - Added a better Toolbar icon. Added a 'clinetool' folder for the images.

Download

Download clinetool.zip

23 comments:

Daniel S said...

Hi Jim...
If i put the clinetool.png in the plugins folder it dosen´t show up... but if i put the icon on the desktop it works every time.

Daniel S

Jim said...

Ah, thanks Daniel! I have made a small change and will upload in a bit.

Jim said...

Ok done. I found and fixed another small annoyance too. Thanks.

Daniel S said...

Thank you!! Now is working fine here :)

Baker518 said...

Jim, I really like this little gem with one request. I dont usually ask for someone to change something they wrote, but I like to use the right click to do things such as this. How easy would it be to change or add to the right click?

Jim said...

I added a Toolbar button to activate the tool. Enable it in the View > Toolbars menu.

Baker518 said...

Great job on the tool bar add. I love it already and have only looked at it. Far better than my right click idea. Cudo's on the excellent work as usual.

Nathan said...

I noticed it doesn't auto-start a new line after a line is made (the way the official Line tool works).

In some ways this is actually nice to have. For consistency, it'd be cool to have it match the Line tool method.

Now if that method is make the Const. Line tool auto-start or remove the auto-start from the Line tool is up for debate :)

simonbonnet said...

Dear Jim, i am using daily as a basic tool your Contruction Line Tool for a long time. (Thx+++ for it). I've just downoaded this last update. Well,, i'm not sure i always need those two end construction points even if they are sometimes very useful. I often erase those lines, and erase a construction point is not so easy. This is the reason why i think it would be great to have the two in the toolbar: with and without end points. :-)simon

Jim Foltz said...

Simon, I agree and I'm glad you mentioned it. Maybe I can use a modifier key, such as Shift or Ctrl to toggle end-point creation?

Jim Foltz said...

Ok, new version uploaded. Use the Ctrl key to toggle creation of the cpoints.

simonbonnet said...

"Super génial" exactly the good tool.
+++to you Jim. Simon

Anonymous said...

HELLO , thanks for this stuff,

can you make more "magic" of this plugin: transform the "object" to grid-line ? (example: the house) ?

Guang said...

I downloaded and unzipped the zip file but I still can not see it in SketchUp. Anyone knows what should I do?

Jim Foltz said...

Guang, make sure when you unzipped the files that the folder were preserved. There needs to one file and one folder in the Plugins folder

Plugins/
clinetool.rb
clintool/
clinetool_cursor.png
clinetool_cursor_p.png
clinetool_icon_lg.png
clinetool_icon_sm.png

lukaf said...

hi ,everybody ,i want to make friend with you, my email is ;future_dream_xu@hotmail.com

Anonymous said...

I added the clinetool plugin to my SketchUp V 6.4.112 and it worked fine. A friend has V 7 and it won't load SketchUP after we added the files. Comments?
Thanks,
Tom
tomschaefer@cfl.rr.com

Anonymous said...

Hey- awesome addition. I do a lot of kitchen and bath design work with sketchup and needed a dashed line feature. Any centerline nomanclature in the near future? What about dashed rectangles or other shapes?

Jim Foltz said...

No plans for centerlines. The dashed lines are the default for Construction geometry in SketchUp. There are a few options the Construction Geometry can accept. Valid strings are:

"."
"-"
"_"
"-.-"

I may make a dialog to allow the user to select one of these styles. If a different style is needed, it would need to be done in a totlay different way - by breaking and hiding existing lines. There is already a script to do that: http://www.smustard.com/script/DashedLines

MORGAN said...

Jim

Thank you for all the work you do on these plugins. I have downloaded clinetool and put it into the plugins directory. It does not show up in the plugins in sketchup 7 though. I have checked off all extensions. I missing something. Your hello-world worked as a test though.

Tx
Morgan

Adypr said...

Great tool but is it possible to make curved lines or arcs?

Anonymous said...

Jim, I'm new to SketchUp7 and was checking out your Construction Line Tool. I was wondering what the file - Thumbs.db - was? It was in the clinetool dir when I unzipped the file. Joe

Jim Foltz said...

Joe: The Thumbs.db is a Windows thumbnail file and can be safely deleted. Oops. Thanks for the feedback.