Browser-first CAD tool for generating slab-template geometry and export files (SVG/PDF/STL) for legacy polygonal forms and polyhedron templates.
- No database
- No Redis queue
- No API server or worker process
- No project/revision/job persistence model
- State exists only in browser memory during the current tab session
- Persistence is explicit via downloaded files only
If the tab is refreshed or closed, in-app state is lost.
- Deterministic geometry engine for:
- Legacy polygonal forms: prism, frustum, pyramid
- Polyhedron presets and parameterized polyhedron families
- Seam modes (
straight,overlap,tabbed) with allowance-driven flap depth for non-straight seams
- Export generation in browser:
- Layered SVG (
cut,score,guide) with selectable layer filtering - Vector PDF
- ASCII STL mesh
- Layered SVG (
- SvelteKit UI with:
- Dimension builder and polyhedron template builder
- Live 2D template preview + interactive 3D solid preview
- Immediate in-memory generation and direct file downloads
Regenerate these assets with:
npm run examples:readme| Example | Net Template (SVG) | 3D Wireframe (SVG) | Rotating Preview (GIF) |
|---|---|---|---|
| Legacy hex prism | ![]() |
||
| Legacy frustum with tabbed seam | ![]() |
||
| Polyhedron dodecahedron | ![]() |
- Node.js
>=20
- Install dependencies:
npm install- Run the web app:
npm run dev- Open:
http://localhost:5173
npm run build
npm run lint
npm run typecheck
npm run testapps/web- SvelteKit stateless UIservices/geometry-engine- canonical geometry, net unfolding, exporterspackages/shared-types- shared Zod schemas and TS types for domain contracts
docs/features.md- implementation feature inventorydocs/architecture.md- runtime/data architecturedocs/api-contracts.md- note on removed API layerdocs/deployment.md- Cloudflare Pages and Railway deployment setupdocs/improvements-roadmap.md- prioritized codebase improvements and security checklistdocs/release-checklist.md- release verification and security checksdocs/printability-rules.md- validation rules and current warningsdocs/development.md- local development and test commandsdocs/stateless-refactor-plan.md- archived execution plan for the completed stateless migrationdocs/two-face-polyhedra-math.md- math for two-face polyhedra feasibility and integration approach
This project is licensed under the GNU General Public License v3.0 (GPL-3.0-only).
See LICENSE.


