Skip to main content

CURVE_SEGMENT_UNREAD

Constant CURVE_SEGMENT_UNREAD 

Source
pub const CURVE_SEGMENT_UNREAD: &str = "an IfcCurveSegment is placed and trimmed by \
     SegmentStart and SegmentLength and cannot be read as an \
     IfcCompositeCurveSegment; lower it with lower::curve instead";
Expand description

Refusal for an IFC4X3 IfcCurveSegment met where a composite segment is read.

IFC4X3 widens IfcCompositeCurve.Segments to IfcSegment, so a segment may be an IfcCurveSegment (Transition, Placement, SegmentStart, SegmentLength, ParentCurve). Reading it through the IfcCompositeCurveSegment slots would take SegmentLength for the parent curve, so the view refuses it by name. Every lowering path checks for an IfcCurveSegment before building this view (the curve lowering lowers it, sweep ranges, p-curves and profile boundaries refuse it with their own reason); the refusal is the backstop for any other caller.