POC repo for an embroidery coloring-up and proof-approval engine. Learning-first technology exploration, not a product build with a deadline.
For the full framing, read POC_PRD_Coloring_Up_Engine.md.
- POC specs at the repo root (
POC_PRD_*,POC_1_*throughPOC_4_*, and the future-statePRD_Coloring_Up_Order_Management.md). pocs/— one folder per POC. Each has aREADME.md(links to its spec), aFINDINGS.md(the writeup deliverable), and source / tests directories.poc1_dst_renderer/— DST → preview image, 5-way bake-offpoc2_thread_catalogue/— Madeira thread DB + color-matching algorithm bake-offpoc3_color_up_editor/— interactive web editor (blocked on POCs 1 & 2)poc4_order_workflow/— order → proof → approval workflow (blocked on POC 3)
webapp/— the Stitch Proofer: a single-file, zero-dependency web app (openwebapp/DST_Render_Test.htmlin any browser, drag a DST onto it). Per-block color pickers, fabric colors, true 1:1 physical scale + zoom inspection. Parses DSTs locally in the browser — designs never leave the machine, so the file is safe to share with the team or host publicly.shared/— cross-POC Python utilities. First occupant:design_colors.py(default thread palette + fabric colors).data/— gitignored. Drop public sample DSTs intodata/sample_dsts/, Madeira source files intodata/madeira_sources/. Seedata/README.mdfor sources.outputs/— gitignored. Render artifacts, scorecards, comparison galleries.Trim Sheet Examples/— reference PDFs of the production trim sheet format the full app will eventually generate.Blue Sky Archive/— earlier embroidery generation roadmap, archived in favor of the simpler "render existing DSTs" approach.
Requires Python 3.12 and uv.
uv sync # creates .venv/ and installs deps
uv run playwright install chromium # once — for the browser-renderer tests
uv run pytest # full suite (browser tests skip if chromium absent)
uv run ruff check . # lint
uv run ruff format . # formatRenderer C needs the system Cairo library:
- macOS:
brew install cairo pkg-config - Debian/Ubuntu:
sudo apt-get install libcairo2-dev pkg-config
This project is architecturally and source-isolated from Straight Down's Wilcom toolchain. No production DSTs land here — only public sample DSTs (e.g., from pyembroidery's test corpus). See data/README.md for sources and licensing.
POC 1 and POC 2 have no dependencies on each other and are intended to run in parallel:
- POC 1 first task: pocs/poc1_dst_renderer/NEXT.md
- POC 2 first task: pocs/poc2_thread_catalogue/NEXT.md