Skip to main content

OCCURRENCE_REF_PREFIX

Constant OCCURRENCE_REF_PREFIX 

Source
pub const OCCURRENCE_REF_PREFIX: &str = "OCC";
Expand description

The reference-name prefix an OCCURRENCE-scoped annotation carries out of a structured import, until its consumer rewrites it: OCC#<edge>#<edge>…:<part-local name>, the occurrence chain root first. An empty chain (OCC:) is the root product’s own geometry.

# cannot occur in a name this importer mints, so a consumer finds every one of them by prefix alone.