pyboxbuilder.precision¶
Curve precision — the fn / fa / fs tessellation controls.
Every curved feature the toolkit builds (cylinders, spheres, fillets and
chamfers, finger scoops and holes, lid-pattern curves) takes its facet count
from the precision in force, so one setting on export() or
show() reaches all of them. No geometry call hardcodes a facet
count the caller cannot override.
The setting travels in a ContextVar rather than through
every function signature: the geometry call sites are several layers below the
public API and threading a parameter through each of them would put a
precision argument on functions that have nothing else to do with it.
Classes
How finely curves are tessellated. |
Functions
Return the precision in force, as a fingerprintable record. |
|
Return the facet count a final export uses when the caller names none. |
|
Shorthand for |
|
Return the precision currently in force. |
|
Build geometry at a given curve precision for the duration of a block. |