beffroi-tools/docs/templates/midra-layout
Dandaedre 66385e8bd7 Use Craft CAD codecs for QCAD-compatible DXF and DWG exchange 2026-11-14 22:16:06 +01:00
..
README.md Use Craft CAD codecs for QCAD-compatible DXF and DWG exchange 2026-11-14 22:16:06 +01:00
midra-layout-4k-2-layers.ai Add PPTX Figma and Illustrator layout templates 2026-11-14 16:48:47 +01:00
midra-layout-4k-2-layers.csv Add open geometry exchange formats 2026-11-14 15:07:08 +01:00
midra-layout-4k-2-layers.drawio Add two-layer Full HD and 4K exchange templates 2026-11-14 14:51:11 +01:00
midra-layout-4k-2-layers.dwg Use Craft CAD codecs for QCAD-compatible DXF and DWG exchange 2026-11-14 22:16:06 +01:00
midra-layout-4k-2-layers.dxf Use Craft CAD codecs for QCAD-compatible DXF and DWG exchange 2026-11-14 22:16:06 +01:00
midra-layout-4k-2-layers.fig Add PPTX Figma and Illustrator layout templates 2026-11-14 16:48:47 +01:00
midra-layout-4k-2-layers.html Add open geometry exchange formats 2026-11-14 15:07:08 +01:00
midra-layout-4k-2-layers.json Add open geometry exchange formats 2026-11-14 15:07:08 +01:00
midra-layout-4k-2-layers.pptx Add PPTX Figma and Illustrator layout templates 2026-11-14 16:48:47 +01:00
midra-layout-4k-2-layers.svg Add two-layer Full HD and 4K exchange templates 2026-11-14 14:51:11 +01:00
midra-layout-1080p-2-layers.ai Add PPTX Figma and Illustrator layout templates 2026-11-14 16:48:47 +01:00
midra-layout-1080p-2-layers.csv Add open geometry exchange formats 2026-11-14 15:07:08 +01:00
midra-layout-1080p-2-layers.drawio Add two-layer Full HD and 4K exchange templates 2026-11-14 14:51:11 +01:00
midra-layout-1080p-2-layers.dwg Use Craft CAD codecs for QCAD-compatible DXF and DWG exchange 2026-11-14 22:16:06 +01:00
midra-layout-1080p-2-layers.dxf Use Craft CAD codecs for QCAD-compatible DXF and DWG exchange 2026-11-14 22:16:06 +01:00
midra-layout-1080p-2-layers.fig Add PPTX Figma and Illustrator layout templates 2026-11-14 16:48:47 +01:00
midra-layout-1080p-2-layers.html Add open geometry exchange formats 2026-11-14 15:07:08 +01:00
midra-layout-1080p-2-layers.json Add open geometry exchange formats 2026-11-14 15:07:08 +01:00
midra-layout-1080p-2-layers.pptx Add PPTX Figma and Illustrator layout templates 2026-11-14 16:48:47 +01:00
midra-layout-1080p-2-layers.svg Add two-layer Full HD and 4K exchange templates 2026-11-14 14:51:11 +01:00
midra-layout-ai-templates.zip Use Craft CAD codecs for QCAD-compatible DXF and DWG exchange 2026-11-14 22:16:06 +01:00

README.md

Midra Layout starter files

Midra Layout · User guide · Geometry format contract

This folder is the single source for the base files in every supported geometry exchange format. Each file contains the same two named 16:9 layer boxes on an exact pixel canvas, without backgrounds or placeholder pictures. The UHD layout is an exact 2× scale of the Full HD layout.

Choose your canvas and format, download the file, then edit it in the matching application or import it through Import → Geometry file… in Midra Layout. Review the detected rectangles and their destination layers before applying.

Format Full HD · 1920 × 1080 UHD 4K · 3840 × 2160 Use with
SVG Download .svg Download .svg Vector editors and browsers
draw.io Download .drawio Download .drawio diagrams.net / draw.io
Geometry JSON Download .json Download .json Scripts and geometry exchange
Geometry CSV Download .csv Download .csv Spreadsheets and data tools
DXF Download .dxf Download .dxf CAD tools
DWG Download .dwg Download .dwg CAD tools; Craft bridge
HTML Download .html Download .html Browsers and web layouts
PowerPoint Download .pptx Download .pptx PowerPoint, LibreOffice Impress or DeckCraft
Figma FIG Download .fig Download .fig Figma or FigCraft
Illustrator AI Download .ai Download .ai Illustrator or VectorCraft

Illustrator downloads in Gitea

Download both Illustrator templates as ZIP, then extract the .ai files. This avoids the browser's PDF viewer changing the download extension. These AI files contain PDF-compatible artwork: Gitea detects the %PDF header and serves them as application/pdf with an inline disposition. It does not convert them. If you already downloaded the original bytes under a .pdf name, rename the extension to .ai; do not print or re-export from the PDF viewer.

The ZIP contains exact copies of the two AI samples. After updating them, rebuild it with python3 -m zipfile -c midra-layout-ai-templates.zip midra-layout-1080p-2-layers.ai midra-layout-4k-2-layers.ai from this folder.

Geometry files and saved projects

These files exchange visible layer boxes. They do not store the complete editor state, source assignments, crop settings or device links. In particular, the .json starter is geometry JSON, not a saved Midra project. Use Project → Save project… for a full .midra.json project; see the project format. Versioned schema and migration examples stay beside their interface contracts.

PPTX and FIG support uses the optional native codecs included in the default build. Illustrator AI import/export requires a separately installed VectorCraft CLI. See dependencies and licensing builds.

Maintaining the base files

Keep all formats here and link to this catalog instead of copying files or maintaining separate download lists. The generation and verification commands rebuild both canvas sizes with the application exporter and verify their geometry. Text and native PPTX/FIG/DWG fixtures are covered by regression tests; the AI check requires VectorCraft and is opt-in. The AI samples were checked with VectorCraft 0.24.1, not Adobe Illustrator.

The DXF and DWG samples were opened and rendered with QCAD Professional 3.28.2. Both formats were also saved as R21 (2007) in QCAD and reimported with unchanged layer coordinates. DXF and DWG carry unitless pixel geometry and no pictures.