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.
§A direction in the profile plane (#281)
An offset with no component along the profile normal bounds no volume:
its “solid” is a sliver, or flat at exactly z = 0. The exact path
refuses an offset within tolerance of the plane, |o.z| <= tolerance,
as "extrusion direction in the profile plane", and so does
extrude_profile, by the same typed refusal, so the two paths agree
on what they build. extrude carries no tolerance, so it refuses
only an offset exactly in the plane, by the same name.
Functions§
- extrude
- Extrude a triangulated 2D profile along
directionbydepth. - 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.