Expand description
Sketch entities and constraints: plain f64 design data.
Points are the only entities with positions of their own; lines, arcs and
splines reference points by PointId, so two curves that share an
endpoint share the same point and stay connected by construction.
Separately drawn points are joined with Constraint::Coincident, which
the solver treats the same way (the two points become one set of
variables), so connectivity is always structural — never inferred from
two positions happening to be close.
Structs§
- Constraint
Id - Key of
Sketch::constraints. - Curve
- CurveId
- Key of
Sketch::curves. - Point
- PointId
- Key of
Sketch::points. - Sketch
- A constraint sketch.
Enums§
- Constraint
- The typical CAD sketch constraints. Distances and lengths are in sketch units, angles in radians.
- Curve
Kind
Type Aliases§
- Positions
- Every point’s
[x, y], byPointId: the sketch’s own positions (Sketch::positions) or a rigid motion of them (seecrate::ProfileLoop::to_nurbs).