Skip to content

v0.3.4

Choose a tag to compare

@pzfreo pzfreo released this 20 Jul 08:00
· 1110 commits to main since this release
e299728

⚠️ Breaking: a regenerated imperative --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-Sheet fidelity locked with a real fixture (#707)
  • --format now reaches --script output (#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_rect O(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 Drawing compat aliases; draftwright.sheet_dsl

Full changelog: https://github.com/pzfreo/draftwright/blob/main/CHANGELOG.md