Skip to main content

Module feature

Module feature 

Source
Expand description

Sub-object (face/edge) topology for direct modeling.

CSG trees have no persistent face/edge identity: meshes are regenerated wholesale and carry no provenance. This module derives that identity analytically from the tree itself — faces are named per-primitive (FaceTag), leaves are addressed by structural LeafPaths, and geom evaluates rays/membership against the tree exactly, independent of the active render backend (mesh or SDF ray-march).

Re-exports§

pub use edge::*;
pub use geom::*;
pub use lower::*;

Modules§

edge
Analytic edge resolution: turn a pair of leaf faces into a verified edge curve on the final solid, or a typed rejection.
geom
Analytic ray/membership evaluation of a DynamicObject tree.
lower
Lower an EdgeFeatureData into pure-CSG masks against its child.

Structs§

EdgeFeatureData
Payload of an EdgeFeature node: which edges to feature and how. Edges are re-resolved against the current child geometry every evaluation, so the feature follows parameter edits; unresolvable edges are skipped.
EdgeSel
An edge, identified as the intersection curve of two faces. Stored in canonical (sorted) order so the same edge always compares equal.
FaceRef
A face of a specific leaf, addressed structurally (survives node-id churn and scene save/load).
LeafPath
Structural address of a leaf inside a subtree, independent of node ids.

Enums§

EdgeFeatureKind
Which feature an EdgeFeature node applies to its edges.
FaceTag
A face of a supported primitive, named in the primitive’s local frame.