Skip to main content

add_external_ref

Function add_external_ref 

Source
pub fn add_external_ref(
    doc: &mut SketchDoc,
    link: &EdgeLink,
) -> (Vec<Value>, Vec<Value>)
Expand description

Materialize an EdgeLink into the doc: push external-ref points (fixed, construction, externalReference) with a ground each, then the construction geometry referencing them. Returns (point_ids, geom_ids).