pub type Sketch3d = Sketch3d;Expand description
A 3-D sketch as a program holds it.
Aliased Type§
pub struct Sketch3d {
pub points: BTreeMap<PointId, Point3d>,
pub curves: BTreeMap<CurveId, Curve3d>,
pub constraints: BTreeMap<ConstraintId, Constraint3d>,
pub next_id: u64,
pub references: BTreeMap<CurveId, NurbCurve<4>>,
}Fields§
§points: BTreeMap<PointId, Point3d>§curves: BTreeMap<CurveId, Curve3d>§constraints: BTreeMap<ConstraintId, Constraint3d>§next_id: u64The id the next added entity gets: one counter for all three kinds.
references: BTreeMap<CurveId, NurbCurve<4>>The geometry of every [CurveKind3d::Reference] curve: given from
outside, so not saved with the sketch — its owner hands it in before
solving or building.