|
![](/i/fill.gif) |
Hi Micha,
if triangulation isn't absolutely neccessary, you
might try this general method:
#declare DockingShape1 = /* a CSG-able object */
#declare AuxiliaryShape = /* a different CSG-able object */
#declare DockingShape2 = difference {
object { AuxiliaryShape }
object { DockingShape1 }
}
Obviously the two DockingShapes fit perfectly,
because the DockingShape1 carves a hole for
itself into the AuxiliaryShape, giving the
DockingShape2.
To make this work, the intersection of the
DockingShape1 and the AuxiliaryShape must
be non-empty.
This will work with meshes, but POV-Ray can't
give you the DockingShape2 as a single mesh
object.
Sputnik
Post a reply to this message
|
![](/i/fill.gif) |