Expand description
One entry point over a shape nobody promised was well-formed.
The exchange readers heal what their corpus exhibits, inline and in a fixed order; a shape built by a caller, or read from a file the corpus does not resemble, has no such pass. This is it: diagnose, mend what a mend is known for, diagnose again, and say what changed and what did not. Nothing is moved that the model’s own tolerances do not already call the same place, and nothing is dropped that the model says is there: a face with area is a face, whatever its shape.
What is mended, in order:
- a wire whose edges are not end to end is put in the order that walks them, where one exists;
- an edge shorter than its own vertices’ tolerances (the two ends the same point by the model’s own admission) is collapsed, its two vertices made one;
- an edge with no pcurve on a face it bounds is given the trim projection can honestly fit, as the readers do;
- loose faces (a compound of them, or an open shell) are sewn where they share edges;
- tolerances are tightened to what the geometry needs.
What is not, and where it lives: small faces and small solids stay (removing a face opens the shell it is in; that is defeaturing, and the boolean crate has it for the features it knows), and a face across a grid of patches is not rebuilt as one.
Structs§
- FixReport
- What
fix_shapedid, and what it found before and after. - Fixed
- A fixed shape: the result, its history, and the report.
Functions§
- fix_
shape - Mend
shapewhere a mend is known for what is wrong with it.