[Plugin] Edge Tools

[Plugin] Edge Tools

Postby thomthom » Sun Dec 20, 2009 7:40 pm

Overview
Collection of some small edge tools I needed for my work.

Access
Tools > Edge Tools
View > Toolbars > Edge Tools
EdgeToolsToolbar.png


Features

 Divide Face (v1.1.0) 


 Close Gaps (v2.0.0) 


Co-linear Edges
Select any sets of connected edges. (Other entities and edges that form loops are ignored.) For each set, the points between the first and last point will be made co-linear to the first and last point. You can also choose to restrict the adjustments of the points to a given direction.

EdgeTools.png


Curve Simplification
"Curve" does here not mean a Curve entity. You don't have to weld anything together. It's just a series of connected edges selected. You can select multiple curves to run this command on. Good for after importing CAD plans of contours.



Algorithm used is the http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm
Douglas_Peucker.png


When you are prompted for an epsilon value it refers to the distance b in the above illustration. It's max distance any point is allowed to deviate from the simplified polyline.

The curves must not connect to anything else and not fork. The resulting simplified curve is created as a Curve entity.

Note: The plugin does not check for forking curves. If you see unexpected behaviour - check that your selected curves doesn't fork.

Requirements
  • SketchUp 7 or newer - ( Other versions untested )
  • TT_Lib2 (v2.5.4)

Download



 Footprint 
<Sketchup>/Plugins/
+-
tt_edgetools.rb
+-
TT_EdgeTools
| +-
Images
| +-
close_gaps.rb
| +-
core.rb
| +-
divider.rb
| +-
make_colinear.rb
| +-
simplify.rb

12
Last edited by thomthom on Sat Jan 18, 2014 1:06 pm, edited 1 time in total.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby thomthom » Sun Dec 20, 2009 8:22 pm

Small bug-fix.
2
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby Gaieus » Sun Dec 20, 2009 8:29 pm

This looks very useful, thanks Thom. I remember cases when I had to move vertices one by one manually to end up with something this plugin is capable of. :thumb:
0
User avatar
Gaieus 
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby wind-borne » Sun Dec 20, 2009 9:01 pm

Thanks, this will be extremely useful in my work :!: and outside of work :D
0
"To read between the lines was easier than to follow the text."OSX 10.11.6 _ _ _ _ _ SU 8 pro
User avatar
wind-borne 
Premium Member
Premium Member
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby Khai » Sun Dec 20, 2009 9:39 pm

so just so I'm sure, this aligns vertices to one straight line?

if so this is a great import clean up tool...
0

Khai 
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby thomthom » Sun Dec 20, 2009 9:48 pm

Khai wrote:so just so I'm sure, this aligns vertices to one straight line?

yes.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby Khai » Sun Dec 20, 2009 9:56 pm

oh you just made my day...
I'm getting a lot of faces divided on import bringing my work over from trueSpace - in tS, they are quads and there's no issue.. but in SU, they are tri'd.. the vertices are ever so slightly out of alignment.. tS does not care... SU does... this should then fix those faces :)
0

Khai 
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby pilou » Mon Dec 21, 2009 12:20 am

cool tools sets! :thumb:
0
Frenchy Pilou
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby EarthMover » Mon Dec 21, 2009 1:00 am

Thanks Thomthom. Very useful. Max has something similar to straighten edges in the edit poly modifier called Make Planar. Adding the Make Colinear also is a nice touch.
0
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup
Content Creator at Skapeup
User avatar
EarthMover 
Premium Member
Premium Member
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby a4chitect » Mon Jan 04, 2010 3:26 pm

perfect tool - thanks!!!
0

a4chitect 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby simon le bon » Mon Jan 04, 2010 7:38 pm

Hi Thomas,

You are incredibly productive and innovative.
One more time, this one promise to be strongly useful (I'm reminding the number of times this tools was missing to me)..

my thanks and my respect,

simon.
0
User avatar
simon le bon 
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby thomthom » Mon Jan 04, 2010 7:41 pm

simon le bon wrote:Hi Thomas,

You are incredibly productive and innovative.
One more time, this one promise to be strongly useful (I'm reminding the number of times this tools was missing to me)..

my thanks and my respect,

simon.

Thanks for your kind words.

simon le bon wrote:(I'm reminding the number of times this tools was missing to me)

Co-linear Edges, or Curve Simplification?
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby Panga » Mon Jan 04, 2010 11:19 pm

Thanks for this new tool !! I'm sure i'll find cases in which it'll be usefull.
0

Panga 
Premium Member
Premium Member
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby simon le bon » Tue Jan 05, 2010 1:20 am

Co-linear :thumb: ;)
0
User avatar
simon le bon 
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby Pixero » Thu Jan 07, 2010 8:17 am

Wow, I've totally missed this. Great plugin.
0
User avatar
Pixero 
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby mknorr » Wed Apr 14, 2010 3:14 pm

I am sure this is a stupid question but where does one get this plugin? None of the links here take me anywhere.
0
User avatar
mknorr 
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby thomthom » Wed Apr 14, 2010 3:20 pm

mknorr wrote:I am sure this is a stupid question but where does one get this plugin? None of the links here take me anywhere.


At the end of the first post in the thread. Look for the cookie. ;)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.0.1) — 20 Desember 2009

Postby mknorr » Wed Apr 14, 2010 3:24 pm

See, it was a stupid question :oops:

Thank you Sir
0
User avatar
mknorr 
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby thomthom » Sun May 09, 2010 2:50 pm

Update v1.1.0

New:
  • Divide Face (See video in main post.)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby pilou » Sun May 09, 2010 2:57 pm

That is very good! :thumb: :fro:
0
Frenchy Pilou
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby autarchos » Mon May 10, 2010 9:38 pm

ThomThom - the divide face plugin is amazing. i'm redrawing thousands of parcels from the 1960s in a city and this has really just made tedious work about 10 times faster. you're a god!
0

autarchos 
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby thomthom » Mon May 10, 2010 9:56 pm

:D Glad you liked it. It came about because I realised I was repeatedly drawing guidelines offset from and edge, draw an edge, erase guideline. Wanted to merge this into one operation. I often do this while working on façades.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby pilou » Mon May 10, 2010 10:13 pm

Very practical for have your own grid! :fro:
Here with Protrude by Jim Foltz and Random Painter by Chris Fullmer
edgetools.jpg



@ Thomthom : have you in your Selection Toys or other plugs something that select only oriented faces external? (with any orientation ("White faces")

for this object for example :?:
external.skp
0
Frenchy Pilou
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby thomthom » Mon May 10, 2010 10:28 pm

hm... no...

this one is a thinker...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby gavvy » Tue May 11, 2010 5:47 am

:( oh no .....
what a XX tool :thumb:
0

gavvy 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby gavvy » Tue May 11, 2010 5:49 am

:shock:
Tomtom ,can i have your msn-account-name??
0

gavvy 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby pilou » Tue May 11, 2010 8:22 am

hm... no...
this one is a thinker...

Because after this will easy to have a uniform object well oriented! :enlight:
0
Frenchy Pilou
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby thomthom » Tue May 11, 2010 8:38 am

Pilou wrote:
hm... no...
this one is a thinker...

Because after this will easy to have a uniform object well oriented! :enlight:

If the purpose is to orient all faces, then right click a face and choose Orient Faces.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby pilou » Tue May 11, 2010 8:49 am

No, it's not so simple ;)
Try with the object linked above!
You must select by hand all different aeras and make different Reverse before Orient :o
Easy with this object but for a more complex, it's a mess! :roll:
0
Frenchy Pilou
Is beautiful that please without concept!
My Little site :)
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] Edge Tools (1.1.0) — 05 May 2010

Postby thomthom » Tue May 11, 2010 9:00 am

Ah, yea, I see now that there are a couple of problem areas. The problem here is knowing programmatically what is "outside".
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: dhimasedsan, Google Bot and 13 guests