Skip to content

mesh-compile: accept CurveRelation boundaries (Composite, Trimmed) for curve-bounded planes #255

Description

@GeneralPawz

Reported by a consumer (axioval). Affects 388 space-boundary outcomes in 3 models.

A curve-bounded plane in `ReferenceMeshCompiler` (`bounded.rs`, still refused in 0.3.12) accepts `Curve2`/`Curve3` boundaries but refuses `CurveRelation` boundaries.

Proposal

Resolve `CurveRelation::Composite` (polyline, line and arc segments, honouring each segment's sense) and `CurveRelation::Trimmed` to points before flattening, exactly as atomic `Curve2`/`Curve3` boundaries are flattened.

Done when

A one-segment composite wrapping a closed polyline with SameSense false compiles to the same surface as the polyline alone. Composites mixing lines and arcs, and trimmed basis curves, compile with certified bounds. Unsupported relation kinds are refused by name.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

needs-triageFiled but not yet accepted, sized, or scheduled

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions