Skip to main content

Module feature

Module feature 

Source
Expand description

Form features: the named operations a modeller thinks in.

A pocket is a prism cut into a solid; a pad is the same prism fused onto it; a rib is a thin pad; a slot is a pocket that runs out of both ends; a revolved feature turns a profile instead of sweeping it. None of these is a new geometric construction; each is a sweep and a boolean, and what makes it a feature is that the operation says which it was and carries the profile through the history.

Building them here rather than leaving them to the caller is not ceremony. It fixes the two things a caller gets wrong: which way the sweep should run so the tool reaches the material it is meant to reach, and what the history should say afterwards. Both are in one place, and the vocabulary is the one drawings use.

Enums§

Feature
Which way a feature meets the material.

Functions§

feature_prism
Sweep profile along vector and add or remove the result.
feature_revol
Turn profile about axis through angle and add or remove the result.
feature_rib
A rib: a pad of stated thickness, swept from a profile face’s own plane.
feature_slot
A slot: a pocket swept along a direction and cut clean through.