Expand description
Small faces and small solids, removed where a caller names the size below which they are noise.
A face the size of a tolerance is no feature: an exchange round trip or
a boolean at the edge of its resolution leaves spots (a face that fits
in a ball of that size) and strips (a face whose two long sides stand
that close along their length). Neither is removed by fix_shape,
which drops nothing the model says is there; this is the step that does,
at a size the caller states.
A spot collapses to a point: its edges go and its vertices become one. A strip collapses to an edge: its short ends go, one long side stands for both, and its neighbours meet on it. Either way the neighbours’ geometry does not move; the vertices and edges that close the gap widen to own it, as the containment rule asks, and trims are fitted where an edge now bounds a face it did not.
Structs§
- Small
Faces - What
fix_small_facesremoved.
Functions§
- fix_
small_ faces - Remove every face of
shapesmaller thansize: a spot (it fits in a ball of that diameter) collapses to a point, and a strip (two long sides withinsizeof each other along their length, every other side shorter thansize) collapses to one of its long sides. - remove_
small_ solids - Remove every solid of
shapeenclosing less thanvolume: the debris an exchange or a boolean leaves beside the part.