Features
Cleanup Model — Version 1.1.0
Plugins->Cleanup->Cleanup Entire Model
Presents the user with a dialog box of various cleanup operations to be perform on the entire model. Especially useful to clean up imported 3D models from other formats.
Cleanup Local Context
Plugins->Cleanup->Cleanup Local Context
About
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: viewtopic.php?f=180&t=10599&start=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.
Version 2.0.0
- Supports ThomThom's Menu
- Persistent preferences.
- Settings for global and local cleanup synced.
- Repairs split edges. (Based on Carlo Roosen's Repair Broken Edges)
- Removes duplicate faces.
- Fixes duplicate component definition names.
- Runs Validity Check at the end.
Requirements
- Sketchup 7.1 - You can run it on older versions, but it will not yield a predictable result - you will be warned about this.
Technical Jabber
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: viewtopic.php?f=180&t=10599&start=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.

