Skip to content

0.6.1

Latest

Choose a tag to compare

@pzfreo pzfreo released this 18 Nov 23:35
07d528e

draftwright 0.6.1 adds one-line installers and more platforms, CLI controls for the sheet and any Spec setting, faster planning, and drawings that stay readable in dark viewers.

Install in one line

  • macOS and Linux: curl -fsSL https://raw.githubusercontent.com/pzfreo/draftwright/main/install.sh | sh
  • Windows (PowerShell): irm https://raw.githubusercontent.com/pzfreo/draftwright/main/install.ps1 | iex

Both verify the release's SHA-256 checksums, install to your user directory (no admin needed) and can pin a version with DRAFTWRIGHT_VERSION.

New binaries: Linux ARM64 and Intel Mac. The Linux builds now need only glibc 2.17 (was 2.35), so they run on most distributions from the last decade.

CLI

  • --size, --max-size and --scale choose the sheet and scale (scale accepts 2, 0.5 or 1:2).
  • Repeatable --set PATH=VALUE sets any Spec value from the command line, for single drawings and packs.
  • Refusals print as a plain error: line on stderr, with the choices when there are any. Successful results stay JSON on stdout. Exit codes are unchanged.

Python

  • Drawing.views() takes colour= (or color=) for shaded pictorials and below= for the view from below.
  • Drawing.render(dpi=...) sets PNG resolution.

Faster planning: about 28% fewer instructions across our 68-part survey, with every plan identical to 0.6.0.

Dark viewers: every SVG sheet now has an opaque white background, so drawings stay readable in GitHub dark mode, chat apps and dark image viewers.