Skip to main content

Module view

Module view 

Source
Expand description

The directions a part is drawn from, and projecting onto the paper.

Parts are modelled with z up (a sketch on the xy plane extrudes upwards), so the views are the usual ones of a z-up modeller: the front view looks along +y, the top view down -z, the right view along -x, and the isometric view from the front, right and top at once.

Structs§

ViewFrame
How a view looks: direction from the eye into the part, and the paper’s right and up — right-handed, right x up = -direction.

Enums§

DrawnView
A view of a drawing, as its annotations name it: one looking from a direction, or the section — front, iso, section.
ViewAxis
A unit vector of a view’s frame. A coordinate axis is kept as one, so projecting along it picks a coordinate rather than multiplying by 1 and 0, which would widen every interval by rounding (see AGENTS.md, “Construction code is sensitive at the last bit”).
ViewKind
Which way a view looks at the part.