[Plugin] Lines2Components v1.2

[Plugin] Lines2Components v1.2

Postby TIG » Sun May 22, 2011 1:36 pm

I wrote a snippet for someone a while ago.
To tidy up the Plugins Index here it is again.
I have relinked the original posts back to here too...
Here's the original thread http://forums.sketchucation.com/viewtop ... 59#p147559

It turns Selected Lines into Instances of a Selected Component...

    Put this file into 'Plugins' folder.
    Open a Model.
    Place Components and Lines...
    Select an Instance of the required Component, and
    at least one Line (Edge)***.
    Pick 'Lines2Components' from the 'Plugins' Menu.
    If the Selection doesn't contain Edges or an Instance
    an error dialog tells you...
    You are prompted for the 'Scaling': None/Z/XYZ.
    ***The Z-height (blue) of each Line relative to the Z-
    height of the required Component sets the 'Scaling'.
    One by one the Lines are turned into Instances of the
    required Component, Scaled to suit.
    Any Scaling is about the Instance's insertion point.
    The Instance's insertion point is taken to be the lower
    of the Line's ends.
    Unless the scaling is set to 'None' 'flat' Lines
    (equal Zs) are not used, then the insertion point is
    the Line's 'start'...
User avatar
Global Moderator

Re: [Plugin] Lines2Components v1.2

Postby pilou » Sun May 22, 2011 3:06 pm

Missing the first :oops:
But maybe was not on board at this date :mrgreen:

You are untiring! :fro:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Top SketchUcator

Re: [Plugin] Lines2Components v1.2

Postby boilingsnow » Fri Jan 06, 2012 7:30 pm

I discovered this plugin of yours today and think it's very useful for some circumstances.
Now this tool can only turn vertical lines into components. Don't you think it would be more powerful if it can also change nonvertical lines (For example,the blue axes of the component along the lines) into components?


Re: [Plugin] Lines2Components v1.2

Postby Arty2 » Tue Oct 02, 2012 1:57 pm

I was wondering, could this plugin be converted easily to take the length of a line then rotate and scale a component (along its z axis as boilingsnow noted) appropriately to it?
User avatar
PluginStore Author
PluginStore Author

Re: [Plugin] Lines2Components v1.2

Postby vandero » Thu Jul 18, 2013 3:56 am

this kind of plugin is workfull.


Re: [Plugin] Lines2Components v1.2

Postby chialiang168 » Mon May 18, 2015 5:46 am

我利用Lines2Components V1.2改編

I'm from Taiwan, name: Hoshino legend
I do not know English
This is a google translation
I use Lines2Components V1.2 adaptation
Send this source to share with you

插件演示(Plug-in demo):
User avatar

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Ad Machine 


Return to Plugins

Who is online

Users browsing this forum: Aroundthebend, astar4013 and 21 guests