v0.3.4
--script now writes <stem>.pdf by default (was SVG+DXF via the legacy tuple), and its script variables changed from svg_path, dxf_path to a paths dict — aligning the imperative flavour with the Sheet flavour and the direct CLI. Migration: regenerate with --format svg,dxf to keep the old outputs. Previously-generated scripts are unaffected (#709).
Direct ↔ generated-script parity
Generated scripts now faithfully reconstruct the direct CLI drawing:
- Side-drilled hole location dims (#426/#133) and rotational furniture (#426/#424)
finalize()now resolves queued detail views (#661)- Emitted-
Sheetfidelity locked with a real fixture (#707) --formatnow reaches--scriptoutput (#709)
Added
.thread("M3x0.5")— first-class tap/thread callout folded onto the hole leader;.thread(...).finish(...)gives Ra-on-thread (#764).knurl("0.8")— knurl callout (#765)- Title-block fields —
material/date/revision/company, across the API, CLI, and the Sheet-script round-trip (#766) - Object-reference script workflow — docs + an inline tip for live-source inputs (#770/#771)
- Solve-trace / explain mode (#736)
Fixed
_largest_empty_rectO(N⁴) hot spot — ~85× faster on crowded detail views (#661)- Pin/provenance-safe detail-view height demotion (#661)
- Y-turned stepped-shaft crash (#661)
- Boss heights modeled, rendered, and coverage-checked (#632)
- Authored tolerances render for chamfer/fillet/flat/groove/pocket/plate/slot (#724/#698)
- CTC-02/04 no longer drop step-height / overall-height dims (#733)
Deprecated
- The seven
Drawingcompat aliases;draftwright.sheet_dsl
Full changelog: https://github.com/pzfreo/draftwright/blob/main/CHANGELOG.md