Skip to content

v0.2.8

Choose a tag to compare

@pzfreo pzfreo released this 06 Jul 06:17
· 1292 commits to main since this release
597f309

--script now defaults to the declarative Sheet DSL. The editable script the CLI writes is the beautiful-Python surface — one commentable line per feature — for both STEP and build123d-object input.

Changed

  • draftwright … --script now emits the declarative Sheet script by default (was the imperative edit-verb reconstruction). The imperative reconstruction is still available via --script --style imperative. For prismatic parts the generated script reproduces the same drawing as a direct build; a turned shaft's centre lines and base-diameter style are not yet identical (the remaining validity gap, #472). --style imperative now errors clearly on a module:attr object spec (it reads a STEP file; use the default sheet). The Sheet DSL doesn't yet model the title-block / layout aspects the imperative script embeds, so --script --style sheet warns when --drawn-by, --tolerance, --scale or --page is set rather than silently ignoring it (#474).

🤖 Generated with Claude Code