SketchUcation Premium Membership

 

 

[Plugin] Edges/Construction Lines Converter V1.3

[Plugin] Edges/Construction Lines Converter V1.3

Postby Michaelv » Sat Mar 31, 2012 2:53 am

Based on the original Xline tool from Rick Wilson

Copyright 2012 (c) EDGE LLC
All Rights Reserved.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
###

Unzip and then place Xlinem script and Xlinem folder into the plugin folder.


This tool is either contextual menu or toolbar activated.
It will work on preselected entities, as well as allow you to pick them after activation.
It will transform selected edges into construction lines (stipple can be chosen), and selected construction lines into edges (unless they are infinite) of a particular color (or black).
By using ALT (Mac) you can opt to also have construction points at the end of these lines.
To delete construction points, use the standard delete methods
By using Command (Mac) you can toggle the tool modes:
Default mode is change edges into construction lines, and vice versa
The second mode changes the construction line's stipple and the edges' color (it doesn't change their nature).
The stipple change also works on infinite construction lines.
In the color change mode it will allow you to change the color of any edge.
The color and stipple pattern is chosen by right clicking in empty space.
It will originally ask you if you want to display the edge with color by material (an option, without which you WILL NOT SEE the edge color change, yet it's there. If you choose entity info, you'll see that the color is properly applied, but to display it, you have to change that style option). Once you pick yes, that option is saved with the model. If you pick no it can always be changed later in the style menu box.
The color and stipple you choose remain throughout your entire session. They don't change if you change tool and come back, but it will revert back to black and standard stipple once you quit SU.

This script is tested on Mac, but it should work on PC. Let me know otherwise.

Version 1.0 - 3/30/2012
Version 1.1 - 3/30/2012 Added color changing
Version 1.3 - 3/31/2012 Simpler, more logical and much better integration
Please, register (free) to access all the attachments on the forums.
Last edited by Michaelv on Sun Apr 01, 2012 6:36 pm, edited 5 times in total.
Michaelv
 
Posts: 95
Joined: Wed Mar 03, 2010 11:02 pm
Name: Michael

Re: [Plugin] Construction Lines Converter V1.0

Postby mitcorb » Sat Mar 31, 2012 3:20 am

Hi, Michael:
Thanks for sharing this tool.
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] Construction Lines Converter V1.1

Postby jorge2011 » Sat Mar 31, 2012 1:59 pm

EXCELLENT PLUGIN.
a query.?
is possible convert smooth lines to construction lines?
is possible the option of adding construction points at the ends of the lines?
You can auto-detect lines with the mouse when I pass over a line?
thank you very much
jorge2011
 
Posts: 161
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Construction Lines Converter V1.1

Postby guanjin » Sat Mar 31, 2012 2:45 pm

Right-click to select the color point of the blank, invalid
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] Construction Lines Converter V1.1

Postby guanjin » Sat Mar 31, 2012 2:53 pm

Right-click to select the color, no response
I come from China, is to learn
User avatar
guanjin
 
Posts: 190
Joined: Thu Apr 08, 2010 6:52 am
Name: XIAOLONG
Operating system: Windows
SketchUp version: 8
License type: Free/Make
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: [Plugin] Construction Lines Converter V1.1

Postby Michaelv » Sat Mar 31, 2012 7:06 pm

jorge2011 wrote:EXCELLENT PLUGIN.
a query.?
is possible convert smooth lines to construction lines?
is possible the option of adding construction points at the ends of the lines?
You can auto-detect lines with the mouse when I pass over a line?
thank you very much

Smooth line, well I assume that if you view hidden, you can pick them and convert, I'll try.
Cpoints, done already, use alt
auto detect, well that would be nice, I don't know how to do yet :D
I presume what you mean is highlighting the line as you go over, before clicking to pick it.

I'll look into it, but I'm working on 1.3 for much better integration too.

As for no color, I don't know I will look, but mine works, so not sure why.
Michaelv
 
Posts: 95
Joined: Wed Mar 03, 2010 11:02 pm
Name: Michael

Re: [Plugin] Construction Lines Converter V1.1

Postby Michaelv » Sat Mar 31, 2012 7:10 pm

guanjin wrote:Right-click to select the color, no response


It only works when you are in the color change mode (see status line at bottom, and change mode with command key).

Works all the time now (in version 1.3)
Michaelv
 
Posts: 95
Joined: Wed Mar 03, 2010 11:02 pm
Name: Michael

Re: [Plugin] Construction Lines Converter V1.3

Postby jorge2011 » Sun Apr 01, 2012 12:47 am

thank you very much for this update.

"auto detect, well that would be nice, I don't know how to do yet :D
I presume what you mean is highlighting the line as you go over, before clicking to pick it."

YES :)
jorge2011
 
Posts: 161
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Edges/Construction Lines Converter V1.3

Postby Jeff Hammond » Fri Apr 06, 2012 7:58 am

neat. thank you!

.
dotdotdot
User avatar
Jeff Hammond
Global Moderator
 
Posts: 4395
Joined: Thu Jan 24, 2008 11:16 pm
Location: newyorkcity
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: awhite344, JS_GM, Kuchinawa, lhereth, lorecille, Marcofly, Missy_X, nafania, rv1974, tomasz, torhoem and 15 guests