Expand description
The sketch target: PlacedSketch, a sketch and the plane it was placed
on (SketchPlane) — the value of a sketch’s target (sketch) — and
what it is to the steps that build on it: as a whole, its profile or a path (PlacedSketch, Path),
its plane (Plane), and its points and curves, as what they are
(Point, Line, Circle, Round, Curve). It is drawn
into the viewport as itself (PlacedSketch::draw), and each of those
is picked from what is drawn of it.
What a sketch’s curves are named after, when they are built into the
model, is the sketch and its element ids: a sketch curve c3 of sketch
K is K,c3, its ends K,p1 after the points there (see
piece_names).
The step that draws a sketch is geop_ops_sketch’s; what reads one —
an extrusion, a hole, a pattern — needs only this. figures draws the
sketches examples and tests write down; fields are the building
blocks of the forms of what is drawn in a sketch.
Modules§
- fields
- Building blocks of the forms of what is drawn in a sketch, here and in a 3-D sketch: a filled region, how a sketch’s constraints stand.
- figures
- Figures drawn into a sketch the way the examples and tests write them
down: closed polygons, rectangles and circles, fully constrained where
the figure says so, and a sketch solved once it is drawn; sketches of
one figure, unconstrained, as a test draws a body’s outline; and the
planes a test sketches on. Every number is design data (
n).
Structs§
- Placed
Sketch - A sketch together with the plane it lies on:
plane.u/plane.vare the sketch’sx/y(unit, orthogonal),plane.w = u x vits unit normal — and its name, the id of the step that drew it, which what is built from it is named after. - Sketch
Drawer - Draws a part’s sketches, each as the target it is, and lists them.
Enums§
- Sketch
Plane - The plane a sketch is placed on: a flat face, a datum plane — the origin’s among them — or another sketch’s plane.
Functions§
- chain_
of_ pieces - The pieces of a loop or a chain of the sketch
sketchas a chain named after it and its elements (seepiece_names). - piece_
names - The names of the pieces of a sketch loop or chain, and of its joints:
sketch,c3for a piece andsketch,p2for a joint. An open chain also names its end joint. - shape_
profiles - The profiles of
shape, one of the sketchname’s, its points atgeometry: each region’s loops, its outer loop first and then its holes, one region after the other — or the one open chain — each named after the sketch and its elements (seechain_of_pieces). - sketch
- The sketch
name: what the step of that id draws. - sketch_
element - The element
element— a pointp3or a curvec3— of the sketchname, as whatKit is. - whole_
sketch - The sketch
name, read whole: what is swept.
Type Aliases§
- Constraint
- A sketch constraint as a program holds it.
- Curve
Kind - A sketch curve’s kind as a program holds it.
- Sketch
- A sketch as a program holds it.
- Sketch
Ref - A sketch of the part, read whole: what is swept.