Skip to main content

classify_vertex_ref

Function classify_vertex_ref 

Source
pub fn classify_vertex_ref(
    reference: &str,
    pre: &Value,
    post: Option<&Value>,
    trusted: bool,
) -> RefOutcome
Expand description

Classify a VERTEX reference ({solid}@x,y,z, a position in the component’s frame): kept only when, with shared lineage, the new part has a vertex at exactly the old point (the resolver snaps within a tolerance, so the point is compared, never trusted). Otherwise unresolved; the same ref is offered when it resolves, pre-ticked when it is the same point.