Expand description
SketchSession — the in-flight editing/display state for one sketch.
S0 holds the essentials the read-only overlay needs — the solved
SketchDoc, the plane PlaneFrame it lives on, and the last
SketchDiagnostics (DOF + mobility) — plus stub fields the interactive
slices (S2 picking, S3 tools, S5 dimensions) will fill in. Constructing a
session solves the doc once; resolve re-solves after edits.
Structs§
- Sketch
Session - One sketch’s live session: solved document + plane + diagnostics, with stubs for the interaction state later slices own.
Functions§
- constraint_
ref - Build a
{"kind":"constraint","id":<id>}entity ref — a CONSTRAINT is selectable like a point/geometry (picked near its glyph or dimension leader) so it can be emphasized + deleted; deleting it drops only the constraint, never its geometry. - entity_
ref_ eq - Whether two optional entity refs are equal (both absent, or both present and
refs_equal) — the hover-changed test. - geometry_
ref - Build a
{"kind":"geometry","id":<id>}entity ref. - point_
ref - Build a
{"kind":"point","id":<id>}entity ref. - refs_
equal - Whether two entity refs name the same entity (same
kind, sameidunderid_key).