Skip to main content

audit_step_pcurves

Function audit_step_pcurves 

Source
pub fn audit_step_pcurves(step: &str) -> Vec<String>
Expand description

Audit the curve-on-surface half of the emitted graph, on the serialized text, for the same reason audit_step_manifold exists: valid in-memory intent is not proof of a correctly written file.

An EDGE_CURVE whose geometry is a bare 3D curve is NOT an issue — that is the counted, deliberate outcome of the verify-or-omit gate. What is an issue is a malformed bundle: a SURFACE_CURVE with no or more than two associated geometries, a SEAM_CURVE that does not carry exactly two, a SEAM_CURVE whose two pcurves name DIFFERENT surfaces (it is by definition one surface’s seam), a SURFACE_CURVE whose two pcurves name the SAME surface (that is a seam, and must say so), or a PCURVE that does not point at both a surface and a DEFINITIONAL_REPRESENTATION.