Files
vectorcraft/crates/engine
dotCooCoo 1581d954db HP-GL: Export As opens HP-GL Options for the version, pens, origin and path order
Export As with the HP-GL format wrote the .plt file with the default options
straight after the save panel; the options were reachable only through
document.export. Export As now opens HP-GL Options, as it does DXF Options and
EPS Options:

- Version (HP-GL or HP-GL/2), Curve Tolerance in points (a typed value is
  kept within 0.01 to 10) and Origin (Bottom Left or Center).
- Pens: One Pen per Color, or Pen Table with a row per pen to type its color,
  remove it or add one. Pen Table starts from the pens One Pen per Color gives
  the art the export plots, or one black pen when that art draws nothing.
- Draw the Nearest Path Next (sortPaths) and Draw Inner Paths First
  (insideFirst).

OK checks the options and the artboard choice as the export reads them, so an
option or artboard choice the export refuses keeps the dialog open, and
remembers the options for the next export. ui.hpglOptionsDialog opens the
dialog for agents.

The dialog's check uses the writer's region check, now public as
vectorcraft_cad::hpgl::write::check_region; document.export gives the same
results and errors as before.

Docs: docs/control-protocol.md, docs/mcp.md, docs/target-app-parity.md,
docs/file-format-parity.md.
2026-11-13 16:01:37 -08:00
..