cad-editor/src/app/commands
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 8820b43127 feat(plot): unified plot/print dialog, retire Page Setup
Replace the old Page Setup panel with a single OCS-styled plot/print
dialog (dropdowns for printer, paper, orientation, rotation, plot area,
scale, quality, shaded plot; checkboxes for plot options). PLOT / PRINT
/ PAGESETUP all open it.

- Printer output via lp: -d printer, -n copies, -o ColorModel=Gray,
  print-quality, Resolution; Windows printto verb; list_printers via
  lpstat. Preview opens a temp PDF in the OS viewer (never a save
  dialog). PDF export reuses the tested pipeline.
- Window pick returns to the new dialog (was the old Page Setup) and the
  clipped window plot drives PDF / printer / preview.
- Remember the user's print preferences across sessions in
  config/plot.txt (printer, copies, quality, output options, area,
  scale); drawing-specific fields (offset/center/rotation) seed from the
  layout. Default plot area Window, scale Fit.
- Delete src/ui/window/page_setup.rs and its ModalKind / Message /
  buffer state; fold on_page_setup_commit into apply_plot_page_settings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 10:27:54 +03:00
..
blocks.rs perf(clipboard): derive the paste anchor from bounding boxes 2026-07-08 18:57:11 +02:00
dim.rs fix(commands): JUSTIFYTEXT sets vertical alignment for single-line TEXT 2026-07-03 09:51:34 +03:00
display.rs feat(plot): unified plot/print dialog, retire Page Setup 2026-07-09 10:27:54 +03:00
draw.rs feat(draw): Arc Continue command; 3-Point default 2026-07-08 20:39:40 +03:00
fileops.rs fix(background): step-by-step prompt + Default preset (#217) 2026-06-30 17:55:44 +03:00
inquiry.rs fix(paper): keep model 3D solids off the paper-space sheet 2026-07-03 23:29:18 +03:00
layerprops.rs fix(properties): repaint on linetype/lineweight/layer edits (#231 class) 2026-07-01 19:14:35 +03:00
layers.rs fix(select): accumulate selection set, apply on Enter/RMB (#220) 2026-06-29 22:58:21 +03:00
mod.rs feat(plugin): surface loaded plugin commands in command-line autocomplete 2026-07-04 23:01:53 +03:00
styleprops.rs feat(commands): prompt for a system-variable value on the next line 2026-07-03 12:42:55 +03:00
view.rs feat(ui): replace app-menu logo with a quick-access file toolbar 2026-07-03 09:51:49 +03:00