Module extrude

Source
Expand description

Linear extrusion of a triangulated profile into a closed solid.

The result must be watertight and outward-oriented, because that is exactly what axiolid-mesh-boolean-boolmesh demands of its inputs. Getting the winding wrong here produces a mesh that looks valid and computes wrong booleans – the failure mode that has already cost two debugging sessions.

Functions§

extrude
Extrude a triangulated 2D profile along direction by depth.
extrude_profile
Triangulate rings and extrude them in one step.
extrude_profile_exact
Extrude a supported profile into an exact, closed analytic B-rep.
outward_orientation
Whether a closed mesh is outward-oriented.