Expand description
What a drawing shows (DrawingArgs), and composing it on a sheet
(compose): the views laid out in third- or first-angle projection,
each with its visible and hidden lines, centre marks on its circles and
its overall size dimensioned, the dimensions asked for, a section view
with its cut hatched, a border and a title block — and, if asked for,
the parts list of the parts placed in it above the title block, each
line ballooned where its part is drawn.
Structs§
- Drawing
Args - What a drawing of a part shows.
- Layout
- A drawing laid out on its sheet: the sheet with everything on it but
the annotations, where its views are placed on it, the scale they are
drawn at, and what can be picked in them to annotate (see
Candidate). - Parts
List Line - A line of a drawing’s bill of materials: a kind of part placed — its
item number, how many there are, what it is called, what it is ordered
as (
ISO 4762 M4x12, empty for a part that is made) and made of — and where it is placed, as the entities of placed parts are named:screw,arm/screwfor one placed in the part placed asarm,""for the part drawn. Who lists the parts placed is the caller’s: the drawing lays them out, and balloons them where they are placed. - Projected
- A drawing’s views projected, each with its lines visible and hidden —
and the section’s, with its cut faces to hatch: what laying a drawing
out costs. It depends on no more of the drawing’s arguments than
Projected::depends_onkeeps, so changing the paper, the scale, the title block or the bill of materials projects nothing again.
Enums§
- Projection
- Which side of the front view the other views go.
- Sheet
Size - The paper, in landscape.
Constants§
- SCALES
- The scales a drawing is made at, largest first.
Functions§
- annotated
layout‘s sheet, ofpart, withargs’ annotations drawn on it (seecompose).- arrange
- The views
projectedofpartlaid out on the sheetargsdescribe (seelayout), dateddate, withpartsits bill of materials ifargsasks for one. - compose
- The part’s drawing as
argsdescribe it, dateddate, withpartsits bill of materials ifargsasks for one: its layout (seelayout), with its annotations drawn on it. One that does not resolve — its view gone, an entity it names gone — is refused, naming it. - drawn_
faces - The faces a drawing of
partshows: every face of its solids and sheets, in a fixed order. - layout
- The part’s drawing as
argsdescribe it, without its annotations (seecompose): its views projected (seeproject) and laid out (seearrange), dateddate, withpartsits bill of materials ifargsasks for one. - length_
label - A length as written on a drawing: to a hundredth, without trailing zeros.
- project
- The views of
partthatargsask for, projected (seeProjected): its own solids and sheets, and every part placed in it, however deep, where it is placed (seeScene). - scale_
label - A scale as written:
1:2,5:1.