diff --git a/docs/interfaces/midra-layout-exchange.md b/docs/interfaces/midra-layout-exchange.md index 7a6f352..333e79e 100644 --- a/docs/interfaces/midra-layout-exchange.md +++ b/docs/interfaces/midra-layout-exchange.md @@ -144,6 +144,8 @@ the fixed unit convention; importing never silently resizes the Midra output. ### Figma FIG +User-validated import/export on 2026-11-15. + FigCraft writes a native `.fig` ZIP containing the Kiwi-encoded canvas and embedded image assets. Export creates a `Midra Layout` frame with screen dimensions and rectangle children (image fills when requested). Coordinates are Figma pixels. @@ -161,6 +163,8 @@ they do not constitute validation against every Figma service version. ### FigCraft FIGCRAFT +User-validated import/export on 2026-11-15. + The separate `.figcraft` option uses the pinned `figcraft-format` crate's native version 1 reader/writer, not a renamed `.fig`. Its ZIP contains `document.json` (with `format: "figcraft"` and `version: 1`) and image assets under `images/`. @@ -281,6 +285,8 @@ data or placeholder pictures. ## CAD: DXF and DWG profiles +Both DXF and DWG import/export were user-validated on 2026-11-15. + DXF uses the official shared `craft-dxf` document model and serializer, pinned to Craft libraries revision `79e97b6febcb62de406e5bcf5a724bd3f7333065` (MIT OR Apache-2.0). It writes UTF-8 ASCII DXF `AC1021` (AutoCAD 2007), with complete symbol tables, diff --git a/docs/midra-layout/changelog.md b/docs/midra-layout/changelog.md index 8d36216..2502198 100644 --- a/docs/midra-layout/changelog.md +++ b/docs/midra-layout/changelog.md @@ -4,6 +4,9 @@ ## Unreleased +- Record user acceptance of Figma FIG, FigCraft FIGCRAFT, DXF and DWG + import/export; mark these format issues solved in the plan and compatibility notes. + - Add native FigCraft (.figcraft) geometry import/export, file drops and page/frame selection using the existing crate. Include background/artwork options and both starter sizes in the combined ZIP. Test native resaving and geometry/artwork diff --git a/docs/midra-layout/plan.md b/docs/midra-layout/plan.md index 08b63ba..db5b947 100644 --- a/docs/midra-layout/plan.md +++ b/docs/midra-layout/plan.md @@ -40,8 +40,8 @@ device readback and physical-screen acceptance. - [x] Clipboard/import mapping review with per-row target/ignore, independent size/position/available-zoom toggles, draw.io stroke handling and own-copy round trips. Real draw.io clipboard sample and draw.io-exported SVG supported. -- [x] Ten-format file exchange: SVG, draw.io, geometry JSON, CSV, DXF/DWG, HTML, - PPTX, FIG and AI through VectorCraft. Shared geometry, scope and review, +- [x] Eleven-format file exchange: SVG, draw.io, geometry JSON, CSV, DXF/DWG, HTML, + PPTX, FIG, FIGCRAFT and AI through VectorCraft. Shared geometry, scope and review, optional artwork where supported, page/frame selection and licensing build flag. Two-layer Full HD and UHD templates exist for all eleven formats. - [x] Project JSON v12, tested legacy/recovery migration, saved layer links, @@ -90,6 +90,13 @@ User-confirmed working on 2026-11-14; these format issues are solved: - [x] **draw.io** — working. - [x] **SVG** — working. +User-confirmed import/export working on 2026-11-15; these format issues are solved: + +- [x] **Figma FIG** — import/export validated. +- [x] **FigCraft FIGCRAFT** — import/export validated. +- [x] **DXF** — import/export validated. +- [x] **DWG** — import/export validated. + ## Remaining acceptance and release checks - [ ] Compare known test images on the physical output for both sizing strategies, diff --git a/docs/templates/midra-layout/README.md b/docs/templates/midra-layout/README.md index bdd55c1..5a1d55b 100644 --- a/docs/templates/midra-layout/README.md +++ b/docs/templates/midra-layout/README.md @@ -32,6 +32,10 @@ Review the detected rectangles and their destination layers before applying. | FigCraft | [Download .figcraft](midra-layout-1080p-2-layers.figcraft) | [Download .figcraft](midra-layout-4k-2-layers.figcraft) | FigCraft | | Illustrator AI | [Download .ai](midra-layout-1080p-2-layers.ai) | [Download .ai](midra-layout-4k-2-layers.ai) | Illustrator or VectorCraft | +FIG, FIGCRAFT, DXF and DWG import/export were confirmed working by the user on +2026-11-15. PPTX, draw.io and SVG were previously confirmed; see the +[format acceptance list](../../midra-layout/plan.md#confirmed-format-acceptance). + ## Geometry files and saved projects These files exchange visible layer boxes. They do not store the complete editor