Expand description
How a problem’s message names what it is about, in the words a draftsman reads on the sheet
(draftwright-rust #24): a dimension by the text it prints (2× 30), a feature by what is
seen of it (the ⌀6.6 hole), a view by its name (the plan view). The IDs stay in the
problem’s subjects and refs; its message never carries one (tests/problem_wording.rs
scans every message of the test parts for them).
Functions§
- block
- A block of the sheet by its ID: a view, a table, the hole table, the manufacturing requirements table.
- capital
- s to start a sentence with: its first letter a capital, or, for a label that starts with a
number or symbol (
30.1,⌀8 THRU),The dimensionbefore it. - carries_
id - IDs as a message may not carry them: the forms of
docs/model.md’s ID table that name an item or feature (d:,f:,v:,pmi:,n:,t:) and a face (face:). - dimension_
id - A dimension the message knows only by its ID (one left out, or a spec entry): what it
measures, of which feature (
the bore diameter of the ⌀8 hole,the overall width). - feature
- The feature as a draftsman sees it: its kind, with the size that tells it apart where its
record gives one (
the ⌀6.6 hole,the R3 blend,the 6 wide slot). - feature_
id - The feature id of a as
featurenames it; a hole pattern by its members (the 6× ⌀6.6 hole pattern). One the Analysis does not have is named by its kind alone. - item
- A drawn item by its ID, its kind and the text it prints: a dimension or callout by its label
(
2× 30), a frame or datum symbol by what it says, a note block, table or line by what it is. - kind_of
- A feature named from its ID’s kind alone (
f:hole_pattern:f6isthe hole pattern), where no Analysis is at hand. - left_
out - Why a dimension is left out, from its state, without naming the item that states it (its omitted entry’s basis and state carry that).
- line_
work - A view’s line work by its kind (
crate::linework):a centre line,a pitch circle. - note
- A general note by its text, its first 40 characters where it is longer.
- view
- A view by its name:
the plan view,section A–A.