mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-28 01:10:19 +01:00
PDFIMPORT (File > Import PDF...) adds a chosen page to the current drawing, with page, scale, insertion point, password and content options. OPEN and IMPORT take a PDF too; OPEN reads its first page into a new metric drawing, and cadcraft-cli convert writes it to DXF or DWG. The mapping is adapted from PR #2787 (MIT OR Apache-2.0) onto craft-pdf's interpreter. Nonzero fills whose contours don't cross keep their loops and arcs; crossing contours are split into triangles so the filled area matches. Content the import leaves out or approximates is named in the read notes, and a page with no vector content is refused instead of opening empty.