Repository navigation
0.1.0-alpha.6
Pre-releaseThe sixth alpha. It fixes problems found in MCP testing of real turned parts (GRM-01 to GRM-03): wrong printed values, long thread callouts, missing AP242 sizes and default drawing numbers. Views now have gutters between them, and a projected view's gap can be pinned. Geometry comes from quiddity-rust v0.1.0-alpha.7.
Drawn values
- Printed values match the model (#92). Labels had rounded every non-whole value to one decimal, so GRM-02's 4.75 window printed as
4.8. Labels now use the shortest form, up to three decimals, that equals the modelled value. Per-measurement Spec precision still wins. Where a longer label cannot be routed, two audited exceptions keep the compact form: NIST FTC-08's8× R1.5(modelled 1.524) and mfcadpp/1004's⌀7.4 ↧ 5.9(modelled 7.447 and 5.86). - Single flats (#93). A single flat is dimensioned by its distance (
7.4) withoutA/F;A/Fneeds proven opposed flats.
Callouts
-
Thread and knurl callouts (#112). They use the ISO 965 / ISO 6410 short forms:
M5-6g, without the coarse pitch or RH; fine pitches and LH stay;- the designation alone on a threaded diameter;
- blind tapped holes on two lines:
M2-6H ↧ 2.5over⌀1.6 ↧ 4; - knurls written horizontally, with process wording in the numbered manufacturing note.
Callouts wrap at 48 mm using real font metrics.
sheet/callouts/style(autoby default,compact,fullornote) chooses the form, andfeatures/<id>/callouts/styleoverrides it for one feature.automoves a callout that would still need more than two lines to<size> SEE MFG n. Of the 11 thread and knurl parts, 8 now fit on A4, up from 2. -
Thread depth. The structured
full thread depthproperty is now read, so a tapped hole whose depth is given only by that property keeps its thread callout. -
Symbols in tables and notes (#115).
⌀ ↧ ⌴ ⌵draw in tables and numbered notes as they do in callouts (SVG, PNG and PDF), and the text stays searchable. GRM-03's table had printed⌀1.6 □ 8. -
AP242 sizes on derived geometry (#113). Dimensions and tolerances defined on derived axes and planes are drawn, with authored values, tolerances and MAX/MIN/AVG qualifiers. GRM-03 now carries its ten semantic sizes and lengths instead of fallback dimensions. Datum symbols no longer overlap or touch; on NIST FTC-07 this moves the drawing from A2 at 1:5 to A1 at 1:1.
Layout
- Gutters between views (#114). Spare paper is shared between the gaps, up to 25 mm. A gutter shrinks toward 0 only when the views would not otherwise fit. Gutters never change the sheet size or scale. Rows and columns move together, so sections stay level with their neighbours.
sheet/view_guttersets the preferred (maximum) gutter in paper mm;0turns gutters off. - No hidden lines in the isometric (#117). The isometric is an orientation view, so it no longer draws hidden edges by default, as pictorial views conventionally don't.
views/iso/hidden: trueorsheet/hidden: truestill draws them. - Pin a projected view's gap (#110).
views/<name>/place/align: "projection"keeps a view on its projection line while its gap is pinned. Valid front/plan and front/side pairs offer it first initem_options. - Radius leaders and witnesses (#107). Radius leaders stay on the drawn part of trimmed arcs. Location witnesses are perpendicular wherever possible; on the 30 measured parts, oblique witnesses fall from 16 dimensions to none.
WASM
- Every sheet in the browser (#119).
sheetFragments(sheet)andsheetSvg(sheet)give any sheet's fragments and SVG, andrenderPdf()produces a page per sheet.renderPdf()now throws an API error instead of always returning bytes.
Titles, numbers and wording
- Drawing numbers (#111). The default is a leading part-number token from the STEP product name, then the file stem (including numeric names such as
10000), beforeDWG-001. - Titles and problems (#108). Default titles come from meaningful STEP product names or readable file stems. Problems describe missed recognition and unsupported STEP annotations in drawing language, with a Spec remedy. A STEP material that the title block states is no longer reported as undrawn.
Known limitations
- Automatic sheet choice is unchanged from alpha.5. A4-first sheet selection (#87) puts more drawings on A4 but currently plans dense PMI parts 10–100× slower (NIST FTC-09: 3 s to 329 s in CI), so it moves to a later alpha.
- Earlier limitations in the alpha.5 notes still apply.
Full details are in CHANGELOG.md. This is an alpha. Every drawing reports what it does not state, but drawings are not yet as clean as the Python draftwright's.
Kernel note: draftwright-rust uses haecceity: tag v0.1.0-alpha.7; quiddity: tag v0.1.0-alpha.7; pzfreo/specify-core-rust v0.1.0-alpha.5 uses haecceity: rev f5ddb726783f2e9384a55164eb7e36a1ec9a6f7c; quiddity: rev f5ddb726783f2e9384a55164eb7e36a1ec9a6f7c. Different quiddity-rust pins may change STEP face numbering.