New Plugin: Extrapolate selected edge

New Plugin: Extrapolate selected edge

Postby blindcop » Thu May 07, 2015 11:22 am

Hi everyone,

This is my first post and first plugin. I had a problem where I wanted to select all the edges that form a roughly straight line across an object, but not the other lines. Having looked around a few other people had the same problem and there wasn't a plugin for it so I did a crash course in ruby (Thanks for all the resources) and hacked this plugin together.

It's dead easy to use:

- select 1 edge of the stuff you want selected
- Press: Tools/Extrapolate Selected Edge
- Fill in the threshold you want. (0 is select all edges, 1 is only perfectly parallel edges) Default is 0.85 which selects stuff following a smoothish line. Experiment to find what is right for you.
- Hit ok.
- Done

It's pretty quick, but as I say, 1st plugin and hacked together from zero knowledge of Ruby before yesterday, but I thought it would be good to share.

Enjoy,
Dom

1.jpg
2.jpg
3.jpg
4.jpg
2

blindcop 
PluginStore Author
PluginStore Author
 

Re: New Plugin: Extrapolate selected edge

Postby Rich O Brien » Thu May 07, 2015 12:03 pm

Thanks Dominic!
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: New Plugin: Extrapolate selected edge

Postby AcesHigh » Tue Jun 09, 2015 4:33 am

what can I say...

this is BEYOND amazing.

Thanks, it will surely be one of my most used plugins.

Just used it and I will give the example so people can have an idea of it´s infinite uses:

I do have a terrain mesh with plenty of triangles.

I drew over it the shape of an avenue central median strip (is that the correct word for those strips with grass and shrubs and trees separating both carriageways of an avenue?).

Now, I wanted to put a curb on it and also raise the grass area. Followme and Profile Builder were not working very well for it), so I used ToS Offset, then used Vector Push Pull to pull the curb straight up some 15cm.

Very nice, HOWEVER, the outside border of the curb was 90º and I wanted something more rounded... so I decided to use Roundcorner.


However, how to select ONLY the correct edges I wanted rounded? Even though Round Corner HAS some tools to help select connected edges, none of them was doing the selection right. They were either selecting ALL edges, or just a few, or just the one I clicked above.

THIS TOOL however, selected EXACTLY the edges I wanted in the FIRST try!

0

AcesHigh 
 

Re: New Plugin: Extrapolate selected edge

Postby Krisidious » Tue Jun 09, 2015 5:27 am

Welcome to the forum and way to come out swinging...
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: New Plugin: Extrapolate selected edge

Postby 3dita » Tue Jun 09, 2015 2:51 pm

Hi there!

This is a VERY nice plugin, that brings a much needed feature in SKP.

It doesn't show up in the context menu though, I have to choose the tool from the Tools Menu.

I worked around it, assigning a shortcut ;)
0
User avatar
3dita 
 

Re: New Plugin: Extrapolate selected edge

Postby CadFather » Tue Jun 09, 2015 7:29 pm

one of those little gems you always needed at some point.. thanks and welcome!
0
User avatar
CadFather 
PluginStore Author
PluginStore Author
 

Re: New Plugin: Extrapolate selected edge

Postby AcesHigh » Tue Jun 09, 2015 7:42 pm

it took one month for people (including me) to notice his plugin. Funny how some threads go unnoticed for a while.
0

AcesHigh 
 

Re: New Plugin: Extrapolate selected edge

Postby Stinkie » Tue Jun 09, 2015 8:54 pm

Much obliged. Very useful.
0
User avatar
Stinkie 
 

Re: New Plugin: Extrapolate selected edge

Postby AcesHigh » Wed Jun 10, 2015 2:17 am

it was called to my attention that there are other similar tools. One of them I always had (since the plugin became free) and I never noticed it, I guess because the Plugin has an entirely different purpose: PATH SELECT TOOL, from SketchUV plugin.

It´s very good and more "visual" in the selection method. I guess that each plugin has it´s uses...
0

AcesHigh 
 

Re: New Plugin: Extrapolate selected edge

Postby JQL » Wed Jun 10, 2015 10:26 am

I've been using path select tool since I had it and it's really different, you have to manually select your path there while here the plugin seems to find this in an automatic fashion. Both have it's purpose and path select might succeed where this one might fail sometimes as there the user imput is manual and gives you full control, but when this succeeds it's way faster than pathselect.
0
User avatar
JQL 
Premium Member
Premium Member
 

Re: New Plugin: Extrapolate selected edge

Postby massimo » Wed Jun 10, 2015 12:00 pm

JQL wrote:I've been using path select tool since I had it and it's really different, you have to manually select your path there while here the plugin seems to find this in an automatic fashion.

Have you already tried with a double click?
Don't know how this one works though.
0
User avatar
massimo 
 

Re: New Plugin: Extrapolate selected edge

Postby JQL » Wed Jun 10, 2015 3:32 pm

Yes I've tried but it seems to deviate the course I want most times when not working with clean meshes...
0
User avatar
JQL 
Premium Member
Premium Member
 

Re: New Plugin: Extrapolate selected edge

Postby AcesHigh » Thu Jun 11, 2015 8:41 pm

JQL wrote:I've been using path select tool since I had it and it's really different, you have to manually select your path there while here the plugin seems to find this in an automatic fashion. Both have it's purpose and path select might succeed where this one might fail sometimes as there the user imput is manual and gives you full control, but when this succeeds it's way faster than pathselect.



the cool thing however is that it selects the paths with the green line, and you move the cursor away until the part it is still the correct path that you want, and you click and it "locks" that path until that part... so you can go correcting it.

it´s pretty fast to select even complex paths.

but yes, THIS plugin is faster in some cases. As I said, different uses for both. I would suggest using first this plugin with like 2 different settings, if it fails, use Path Select because the time you will need to select the path with that tool is quite short and certainly will be faster than trying like 3-4 more different settings with this tool here.
0

AcesHigh 
 

Re: New Plugin: Extrapolate selected edge

Postby Einstein » Wed May 02, 2018 6:54 am

Hi,

Very nice tool :) I'm thinking if it's possible to add a feature of extrapolation several selected edges in one go.
0

Einstein 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: Feal_music, LuisSalazar, tmddn1394 and 15 guests

Visit our sponsors: