Skip to main content

Module figures

Module figures 

Source
Expand description

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).

Functions§

circle
A circle of radius around center, fully constrained.
disc
A sketch of nothing but the circle of radius around center.
n
A number of a figure, as design data.
on_face
The flat face named face, to sketch on.
on_origin
The plane of the origin normal to normal, to sketch on.
outline
A sketch of nothing but the closed polygon through corners (see polygon).
polygon
A closed polygon through corners, one line per side: its points and lines.
rectangle
A width x depth rectangle with its first corner at origin, drawn roughly and fully constrained: its lines, from the one along x at origin round.
rectangle_outline
A sketch of nothing but the rectangle from (x0, y0) to (x1, y1).
solved
Solves sketch, which has to be fully constrained: a figure that does not solve is a mistake in how it was written down.

Type Aliases§

P2
[x, y], as a figure is written down.