Copyright 2010 (c), TIG
All Rights Reserved.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
It looks at the contents of a selected group and tries to fix it so it
is 'manifold' for 3D-printing etc.
The group needs to be a 3D shape which is fully surfaced without
internal divisions or intraneous/extraneous geometry/entities...
It removes 'non-face/non-edge' entities.
It removes 'disconnected geometry'.
It removes 'unfaced-edges'.
It runs an initial 'health-check' and reports.
It removes face 'flaps'.
It heals 'holes'.
It removes 'internal faces'.
It orients all faces consistently to face 'outwards'.
It erases 'coplanar edges' [optional].
It 'triangulates' all of the faces [optional].
It highlights major errors.
Select a group that is at least a bit 'manifold' [ give us a break ! ]
Select the tool from the Plugins Menu > 'Manifold'
OR type 'manifold' in the Ruby Console
OR activate the 'Manifold' toolbar from View > Toolbars and click on
It then processes the group, making a modified copy of it set off to
If it has errors then a nested group is overlaid that has these
errors highlighted - red for removals, green for healing.
This error-group has a 'text-handle' so you can easily select it to
move it away or erase it later...
There is a closing dialog which either tells there were no major
errors [although it might have removed non-face/edge entities or
oriented faces and done some triangulation] or it reports the number
If X-ray mode is off it asks you if you want to change to X-ray Mode
to look inside the group to see what has been affected.
On Yes/No the tool closes, with the new 'manifold' group now selected.
Otherwise OK to end, with the new 'manifold' group now selected.
Are welcome [by PayPal], please use 'TIGdonations.htm' in the
1.0 20100124 First release.
1.1 20100124 Menu typo glitch fixed.
1.2 20100125 Ticker added. Better processing for inner faces.
Three-faced-edged external-faces now usually kept.
FR lingvo updated by Pilou
1.3 20100126 Trapped near colinear/planar points healing crashes.
Very small edges now 'erased' by combining vertices.
Orienting faces is now 'foolproof'.
Unhealed or Failed Fixes now reported - with failed
edges shown as . or -.- clines in Error Group.
Now only asks Y/N change to Xray mode if not on already.
1.4 20100127 Minor zero length vector glitches trapped.
Better inner 'flap' removal algorithm.
1.5 20100129 Mesh is now intersected with self before processing.
The flattenUVQ glitch addressed.
Small line healing length now 0.5mm.
New group's edges NOT hidden/smoothed/softened/layer0...
Ticker made verbose. Test loops now break if 'ok'.
Cline 'errors' shown with cpoint ends for clarity.
ES lingvo updated by Defisto.
Updated all lingvo files for new strings.
1.6 20100130 Face making error fixed, 3-edge faces removal improved.
Sub-groups/Instances now within Group removed & reported.
Error reporting improved.
1.7 20100131 Inital quick 'Health-Check' introduced: Y/N to continue.
1.8 20100131 Final triangulation is now optional - Y/N.
1.9 20100031 Health-Check now traps for 'No Geometry' in group.
2.0 20100201 Very small face glitch fixed during health-check.
2.1 20100209 Optional 'erase coplanar edges'. Piou updated FR lingvo.
2.2 20100222 Tooltips and other Strings now deBabelized properly.
FR lingvo updated by Didier Bur.
TO DO: Get three-faced-edges external-faces to be retained in 'pretzels'.
Extract the files from the zip in their folders - manifold.rb and deBabelizer.rb go into the ../Plugins/ folder - overwrite anything already there. The other files are the lingvo translations, image files for the toolbar button and the donation html stuff - these must remain in the ../Plugins/TIGtools/ folder [just as they come zipped] - if you already have this folder these files are added into it...I attach a tester SKP but I'm sure you'll find much more complex challenges...