[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
3
Last edited by Michaelv on Sun Apr 01, 2012 6:36 pm, edited 5 times in total.

Michaelv 
 

Re: [Plugin] Construction Lines Converter V1.0

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

Hi, Michael:
Thanks for sharing this tool.
0
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb 
Top SketchUcator
 

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
0

jorge2011 
 

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
0
I come from China, is to learn
User avatar
guanjin 
 

Re: [Plugin] Construction Lines Converter V1.1

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

Right-click to select the color, no response
0
I come from China, is to learn
User avatar
guanjin 
 

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

Michaelv 
 

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

Michaelv 
 

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

jorge2011 
 

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

Postby jeff hammond » Fri Apr 06, 2012 7:58 am

neat. thank you!

.
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

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

Postby Clayton49 » Mon Sep 08, 2014 10:24 am

Hi All,

Can anyone confirm if this PLUG-IN works with SU Pro-2014.

Over & out,
Clayton.
0
Over & out,
Clayton.

Trotman & Taylor
Architectural Consultants
User avatar
Clayton49 
 

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

Postby pilou » Mon Sep 08, 2014 1:04 pm

Works perfectly with the 2014 Make (PC), so I suppose that is the same for the Pro! :mrgreen:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

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

Postby Dave R » Mon Sep 08, 2014 2:33 pm

Clayton49 wrote:Hi All,

Can anyone confirm if this PLUG-IN works with SU Pro-2014.

Over & out,
Clayton.


What happens when you try it?
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

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

Postby greenskp » Mon Dec 15, 2014 3:45 pm

Thank you!
Works great! SketchUp 2015!
0
User avatar
greenskp 
Premium Member
Premium Member
 

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

Postby function » Fri Nov 04, 2016 5:40 pm

bug on console load 2016

Code: Select all
C:/Users/user01/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/xLinem.rb:39: warning: class variable access from toplevel
C:/Users/user01/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/xLinem.rb:40: warning: class variable access from toplevel
0

function 
 

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

Postby Dave R » Fri Nov 04, 2016 5:48 pm

function wrote:bug on console load 2016

Code: Select all
C:/Users/user01/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/xLinem.rb:39: warning: class variable access from toplevel
C:/Users/user01/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/xLinem.rb:40: warning: class variable access from toplevel


How did you install it? I just installed it in SU2016 using the Extension Store and it works just fine.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

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

Postby function » Fri Nov 04, 2016 6:24 pm

strange, I always use thomthom's drag and drop - is it possible something else could cause an error like that?
0

function 
 

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

Postby Dave R » Fri Nov 04, 2016 6:34 pm

What do you mean you use ThomThom's drag and drop?

I expect you've got the thing installed incorrectly or it would work.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

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

Postby function » Sat Nov 05, 2016 11:10 am

thomthom's drop zone installer. still gives me error, also using eneroth's console opener on start, not sure if that has something to do with it
0

function 
 

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

Postby Dave R » Sat Nov 05, 2016 11:19 am

If you've got a bad installation of it, installing it again won't clean it up. At this point you should go to the Plugins folder and remove all traces of this plugin. Then either download the RBZ file and installed it with Install Extension in Preferences>Extensions or navigate to it in the Sketchucation Extension Store and install it with the Install button. Both of those options are sure to install it correctly.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: Lawlor_, Nelisa101 and 8 guests

Visit our sponsors: