ThreadForgeIn progress
From artwork to something you can print.
ThreadForge explores the gap between customer artwork and a file a print shop can produce. Its core is an editable document, a shared SVG renderer and preflight checks that understand physical print constraints.
- Who it is for
- Print shops preparing and revising customer artwork
- The work
- Document model, text engine, editor, preview and export
- What I’m working through
- How do you preserve editability all the way to the print file?
Follow the artwork into production.
The first product direction centred on AI-assisted design. The later product decision shifted toward the print shop’s work: receiving customer artwork, finding production problems, revising it and producing a usable file. That change made the existing document, rendering and preflight foundations more important than the prompt box.
A screen preview can look fine while the print file fails. A raster layer can be too small at its intended size; a thin stroke can disappear; an image can have soft transparent edges against a garment. ThreadForge gives these problems explicit findings instead of treating a successful image download as a successful export.
- Design in physical units
- Layer positions and dimensions are expressed in millimetres, with a 305 × 406 mm print area in the sample document.
- Make preflight reusable
- The same structured findings support the checklist, export gate and the assistant’s correction loop.
One document. One renderer. Several surfaces.
The editor canvas, garment texture and exporter call the same deterministic document-to-SVG renderer. Fabric handles interaction through transparent proxy objects while the SVG output supplies the artwork. That removes the need to keep a canvas renderer and a separate export implementation visually in agreement.
The sample above was generated through that renderer for this portfolio. Its badge, arched headline and letter-spaced subline are separate document layers. The text engine builds glyph outlines and applies warp geometry, so changing a phrase changes the text layer rather than regenerating a flattened composition.
Editable document
Text, shapes and assets in millimetres.
Shared SVG renderer
One deterministic visual result.
Editor · preview · export
The same artwork on every surface.
Treat every edit as a document operation.
Dragging an object and applying an assistant tool call both become validated JSON Patch operations. Applying a patch must leave a valid document. Forward and inverse operations support revision history, undo and autosave, while keeping agent-driven changes inspectable.
The export pipeline produces a transparent PNG at 300 DPI and writes the physical-resolution metadata into the file. Reading the header back is part of verification: the receiving print software should open the intended physical size, not merely the intended pixel count.
What this project keeps teaching me
The strongest part of the project is the agreement between representations. Keeping a document editable while producing the same artwork in the editor, on a garment and in a print file is a more durable foundation than a convincing mockup alone.
Where it stands
Editable-document, text-layout, shared-rendering, preflight and export foundations are implemented. The wider artwork-fixing and print-shop workflow remain in progress. The visual shown is actual renderer output, not a screenshot of a completed production application.
Under the surface
- TypeScript
- React Router
- SVG rendering
- JSON Patch
- Print preflight