rot_hull_extrusion
Creates a rotational extrusion of the convex hull of a solid.
Signatures
- rot_hull_extrusion( vector axis )
- rot_hull_extrusion( vector onset, vector axis )
Details
The rot_hull_extrusion modifier applies a convex hull to a solid and performs a full-circle rotational extrusion around a given axis to it. This means that a new solid is constructed that covers all the volume that is touched when the convex hull is rotated around the axis.
A typical application of this function is to check whether a part can be moved freely around an axis.
Example
make rot_hull_extrusion( <[1,1,1]> ) >> cylinder()
Casts To
Parameters
- axis
-
A vector that defines the rotation axis direction.
- onset
-
A space point that defines one point on the rotation axis. If this is omitted, the axis is set to the coordinate origin.