by 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
<Sketchup> /Plugins/
+- tt_edgetools.rb
+- TT_EdgeTools
| +- Images
| +- close_gaps.rb
| +- core.rb
| +- divider.rb
| +- make_colinear.rb
| +- simplify.rb
Last edited by
thomthom on Sat Jan 18, 2014 1:06 pm, edited 1 time in total.
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by thomthom » Sun Dec 20, 2009 8:22 pm
Small bug-fix.
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by 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.
Gaieus
Posts: 26832Joined: Sat Oct 20, 2007 8:24 amLocation: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced
by wind-borne » Sun Dec 20, 2009 9:01 pm
Thanks, this will be extremely useful in my work
and outside of work
"To read between the lines was easier than to follow the text." OSX 10.11.6 _ _ _ _ _ SU 8 pro
wind-borne
Premium Member
Posts: 220Joined: Thu Sep 17, 2009 4:05 amLocation: HI
Name: wind-borne
by 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...
Khai
Posts: 634Joined: Sun Mar 15, 2009 4:53 pmLocation: Onboard his TARDIS
Name: Khai
Operating system: Windows
SketchUp version: 2017
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Intermediate
by thomthom » Sun Dec 20, 2009 9:48 pm
Khai wrote: so just so I'm sure, this aligns vertices to one straight line?
yes.
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by 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
Khai
Posts: 634Joined: Sun Mar 15, 2009 4:53 pmLocation: Onboard his TARDIS
Name: Khai
Operating system: Windows
SketchUp version: 2017
License type: Free/Make
SketchUp use: architecture
Level of SketchUp: Intermediate
by pilou » Mon Dec 21, 2009 12:20 am
cool tools sets!
pilou
Top SketchUcator
Posts: 23080Joined: Wed Jan 23, 2008 10:33 pm
Name: Pilou
Operating system: Windows
SketchUp version: 2017
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced
by 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.
3D Artist at Clearstory 3D Imaging Guide Tool at Winning With Sketchup Content Creator at Skapeup
EarthMover
Premium Member
Posts: 1802Joined: Fri Sep 12, 2008 9:06 pmLocation: Eastern Pennsylvania
Name: EarthMover
Operating system: Windows
SketchUp version: 2016
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced
by a4chitect » Mon Jan 04, 2010 3:26 pm
perfect tool - thanks!!!
a4chitect
PluginStore Author
Posts: 152Joined: Sat Nov 17, 2007 5:10 pm
Name: a4chitect
by 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.
simon le bon
Posts: 1070Joined: Sat Jan 26, 2008 10:22 amLocation: Chouy/ Picardie/ France
Name: simon le bon
by 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?
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by 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.
Panga
Premium Member
Posts: 368Joined: Fri Dec 14, 2007 11:04 amLocation: FRANCE
by simon le bon » Tue Jan 05, 2010 1:20 am
Co-linear
simon le bon
Posts: 1070Joined: Sat Jan 26, 2008 10:22 amLocation: Chouy/ Picardie/ France
Name: simon le bon
by Pixero » Thu Jan 07, 2010 8:17 am
Wow, I've totally missed this. Great plugin.
Pixero
Posts: 2595Joined: Thu May 24, 2018 12:49 pmLocation: Halmstad, Sweden
Name: Pixero
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced
by 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.
mknorr
Posts: 9Joined: Fri May 01, 2009 11:30 amLocation: Australia
Name: Manfred Knorr
Operating system: Windows
SketchUp version: 2016
License type: Pro
SketchUp use: hobby
Level of SketchUp: Intermediate
by 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.
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by mknorr » Wed Apr 14, 2010 3:24 pm
See, it was a stupid question
Thank you Sir
mknorr
Posts: 9Joined: Fri May 01, 2009 11:30 amLocation: Australia
Name: Manfred Knorr
Operating system: Windows
SketchUp version: 2016
License type: Pro
SketchUp use: hobby
Level of SketchUp: Intermediate
by thomthom » Sun May 09, 2010 2:50 pm
Update v1.1.0 New: Divide Face (See video in main post.)
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by pilou » Sun May 09, 2010 2:57 pm
That is very good!
pilou
Top SketchUcator
Posts: 23080Joined: Wed Jan 23, 2008 10:33 pm
Name: Pilou
Operating system: Windows
SketchUp version: 2017
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced
by 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!
autarchos
Posts: 61Joined: Sat Nov 15, 2008 6:23 pmLocation: USA
Name: Pete Robie
by thomthom » Mon May 10, 2010 9:56 pm
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.
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by pilou » Mon May 10, 2010 10:13 pm
Very practical for have your own grid!
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
pilou
Top SketchUcator
Posts: 23080Joined: Wed Jan 23, 2008 10:33 pm
Name: Pilou
Operating system: Windows
SketchUp version: 2017
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced
by thomthom » Mon May 10, 2010 10:28 pm
hm... no... this one is a thinker...
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by gavvy » Tue May 11, 2010 5:47 am
oh no .....
what a XX tool
gavvy
PluginStore Author
Posts: 48Joined: Sat May 17, 2008 3:34 am
by gavvy » Tue May 11, 2010 5:49 am
Tomtom ,can i have your msn-account-name??
gavvy
PluginStore Author
Posts: 48Joined: Sat May 17, 2008 3:34 am
by 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!
pilou
Top SketchUcator
Posts: 23080Joined: Wed Jan 23, 2008 10:33 pm
Name: Pilou
Operating system: Windows
SketchUp version: 2017
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced
by 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!
If the purpose is to orient all faces, then right click a face and choose Orient Faces.
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by 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
Easy with this object but for a more complex, it's a mess!
pilou
Top SketchUcator
Posts: 23080Joined: Wed Jan 23, 2008 10:33 pm
Name: Pilou
Operating system: Windows
SketchUp version: 2017
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced
by 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".
thomthom
PluginStore Author
Posts: 19457Joined: Tue Nov 13, 2007 12:47 pmLocation: Trondheim, Norway
Name: Thomas Thomassen
Operating system: Windows
SketchUp version: 2019
License type: Pro
SketchUp use: other
Level of SketchUp: Advanced
by Ad Machine » 5 minutes ago
Ad Machine
Robot
Posts: 2012
Return to Plugins