Copyright 2011-2017 TIG (c)
Permission to use, copy, modify, and distribute this software for any
purpose, and currently without fee, is hereby granted, provided that
this text and the above copyright (c) notice appear in all copies.
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.
Parts are based on ThomThom's 'solid_inspector' tool which can also be
used prior to this tool, so that you get a better understanding of what
is wrong with your Non-Solid Group...
Menu: 'Tools' > 'SolidSolver'
Context-menu: > 'SolidSolver'
Usage: [Note this works on >= v8 only]
Select a Non-Solid Group/Component-Instance and run the tool from the menu
If it contains nested groups or instances you are warned, and given the
option to explode these - it could never be a 'solid' otherwise.
It analyzes the object's form for holes [which it heals], small faces
[also healed] and removes partitions/flaps that are making the form
'non-manifold', and it merges any 'split' colinear edges.
If there are any coplanar edges it asks if you want to remove them.
It then reports on the results 'solidity' & what was done to achieve it.
It is one step undoable.
If the object remains 'non-solid' it's likely be due to some edges still
having more than two faces - e.g. two otherwise solid cubes touching at
an edge will therefore use that edge for four faces, which is therefore
regarded as making it a non-solid. An additional dialog explains, and it
then offers the chance to try to rectify this. A 'fix' might produce odd
results - for example the common edge to two cubes might be removed so
there are no longer any edges with more than two faces, but the form
might then be folded back on itself to achieve interpenetrating faces -
which, although then regarded as forming a 'solid', is an 'impossible
object' in normal three dimensions... You are given a separate undo for
this step if you do try it.
Tip: IF you have this type of form temporarily group one of the 'cubes'
and move if over say 0.5mm, so that there are then two distinct edges
and it will become a proper solid of two separated volumes, without the
involuted faces issue.
Donations: PayPal.com to info @ revitrev.org
Get the latest version from the PluginStore...