compas_brep.loop
¤
Classes¤
BrepLoop
¤
BrepLoop(
edges: list[BrepEdge] | None = None,
trims: list[BrepTrim] | None = None,
is_outer: bool = True,
)
Pure Python implementation of a Brep loop.
A loop can store edges directly (legacy) or trims (STEP-inspired). When trims are present, edges are derived from them.
Returned by:
- API Reference
LoopType
¤
Constants describing the role of a loop within its face.
Mirrors the loop types of Rhino.Geometry.BrepLoopType for the two cases
compas_brep distinguishes.