This plugin does it best at optimize and clean up a model.
Plugins > CleanUp
- Fixes duplicate component definition names ( When in model scope )
- Purge unused items
- Erase hidden geometry
- Erase duplicate faces
- Erase lonely edges ( Except edges on cut plane )
- Remove edge material
- Repair split edges
- Smooth & soft edges
- Put edges and faces to Layer0
- Merge identical materials
- Merge connected co-planar faces
- SketchUp 7.1 or newer - You can run it on older versions, but it will not yield a predictable result - you will be warned about this.
- TT_Lib2 (v2.7.0)
Guide: How to install RBZ Files
Both the Sketchup Importers option too remove coplanar edges and the deletecoplanaredges plugin have given me mixed result. Geometry tend to disappear in some cases. Part of that is due to a Sketchup bug: http://forums.sketchucation.com/viewtop ... 30#p164501 and another part is due to what seem to be some inconstancy with the way Sketchup and the Ruby API deal with numbers.
As of 7.1 the first issue appear to have been fixed. (Yay! ) And I have found a work around for the other issue.
If you experience geometry to be lost, while using SU 7.1 - please let me know so I can look into it.
If you have geometry selected it will work on those only. Otherwise it will iterate over the current context.
Prior to SU 7.1 there was a bug where in some cases deleting an coplanar edge, either via Ruby or the Eraser tool, would make its connected faces disappear. See this thread for more info and samples: http://forums.sketchucation.com/viewtop ... 30#p164496
I tried to work around that previously, but the code ended up stupidly complex trying to keep track of all the edges I couldn't erase, and no matter what I did I always ended up loosing geometry, or not managing to remove everything. With this issue fixed in SU 7.1 it's now dead easy; Find'em and Erase'em!
Update — 22 April 2010
New and improved method to detect coplanar faces. No more messing about with tolerances.