Skip to content

About

Design your kiln, get plans, make pots.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

631 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kilndesigner

Design your kiln, get plans, make pots.

Describe the kiln you want in a schema: 2 (design2) YAML file: what it fires, the size of the chamber, the lining, the fuel or the power supply. Kilndesigner checks the design with Engine v2: limit-analysis statics, transient heat transfer and combustion, 2D SVG architectural blueprints, bills of materials and castable batch sheets, and printable build plans. Every number comes with its working and its source, so you can check it.

Status: Engine v2 and schema: 2 cutover complete. See the plan, the market survey, and the decision records (especially ADR 0017 and ADR 0018).

Try it

uv sync
uv run kilndesigner check examples/design2/template-electric-front-loader.yaml
uv run kilndesigner v2-design examples/design2/template-electric-front-loader.yaml --run-firing --out out/front-loader
uv run kilndesigner v2-geometry examples/design2/template-electric-front-loader.yaml --out out/front-loader
uv run kilndesigner v2-bom examples/design2/template-electric-front-loader.yaml --out out/front-loader
uv run kilndesigner v2-plan examples/design2/template-electric-front-loader.yaml --out out/front-loader
uv run kilndesigner v2-compare examples/design2/pnw-hybrid-crossdraft.yaml examples/design2/example-pnw-hybrid-crossdraft-budget.yaml

Engine v2 commands work directly from KilnSpec (schema: 2):

  • v2-design writes v2-report.json (statics, heat, provenance steps, and explicit missing fields); --run-firing runs the transient DAE simulation and feeds hot wall profiles into statics.
  • v2-simulate runs transient firing and writes Parquet time-series results queried via DuckDB.
  • v2-geometry extracts 2D plan and cross-section SVG previews and dimensions.
  • v2-bom generates brick/insulation/hardware bills of materials and castable batch sheets.
  • v2-plan writes printable SVG/HTML build plans with drawings, BOMs, and engineering checks.
  • v2-compare compares two schema: 2 designs side by side.

Run the app

docker compose up

Then open http://localhost:8080. The first start builds the images, which takes a few minutes. It needs Docker Engine 25 or later. Designs are kept in Postgres and built files in the data volume, so both survive a restart. The app is reachable from this machine only, because there is no sign-in yet.

To work on the app, run Postgres and Valkey in Docker and the rest on your machine:

docker compose up -d postgres valkey
uv run kilndesigner-migrate
uv run kilndesigner-api
uv run arq kilndesigner_worker.main.WorkerSettings
npm install
npm run dev

Then open http://localhost:5173.

On a small machine

On an older laptop the app can take more CPU and memory than the computer can spare. Copy small-machine.env to .env and adjust it: the worker then runs one build at a time, with its CPUs and memory capped. On a Mac with Colima, start Docker's VM with scripts/colima.sh start, which starts it at the size set there and at a low priority, and stop it with scripts/colima.sh stop when you're done: the VM gives its memory back to macOS only when it stops.

What it does today

  • schema: 2 (design2) format: explicit banded quantities (exact, range, not_given), parameterized kiln templates, and resolved KilnSpec contracts with zero hidden defaults.
  • Statics: first-principles limit analysis (HiGHS LP) for flat, sprung-arch, catenary, pointed, sail-dome, and crossing-vault roofs, cold and hot thermal profiles, wall stability, and sliding.
  • Heat & combustion: transient 1D walls (k(T), c_p(T)), 2D finite-element ground heat transfer, Monte Carlo enclosure radiation, WSGG gas radiation, equilibrium combustion across electric, gas, oil, wood, and coal kilns (including reduction λ < 1 via Cantera), and pressure-balanced natural draft.
  • 2D blueprints & build plans: pure-KilnSpec 2D plan and cross-section SVG drawings, brick and lining bills of materials, castable batch sheets, and printable SVG/HTML build plans.
  • Engineering checks & comparison: sourced advisory checks layered cleanly over Engine v2 numbers, plus side-by-side design comparison in the CLI and Web UI.

How it's built

  • core/: the pure Python engine and design2 schema (Pydantic, Pint, NumPy, SciPy/HiGHS, Cantera, DuckDB/PyArrow, trimesh/embreex, scikit-sundae, scikit-fem, fluids, ht).
  • cli/: the kilndesigner command (check, schema, v2-check, v2-design, v2-simulate, v2-geometry, v2-bom, v2-plan, v2-compare).
  • api/: the FastAPI service: designs, versions, builds, and Engine v2 endpoints in Postgres.
  • worker/: the arq worker, which runs Engine v2 builds and transient firing simulations.
  • mcp-server/: the kilndesigner-mcp Model Context Protocol server for AI-assisted kiln validation and analysis.
  • web/ & packages/api-client/: the React + TanStack Router + CodeMirror web app (live 2D SVG blueprints, BOM/castables, printable build plans, and design comparison) with its OpenAPI-generated TypeScript client.
  • compose.yaml runs the full stack locally; the hosted app uses the same compose architecture.

Safety

Kilndesigner gives engineering guidance. It does not replace a licensed electrician, a gas fitter, or your local codes, and its electrical and gas results say so.

License

MIT

Related pottery projects

Part of an open-source ceramics toolset built alongside Updraft Pottery Studio by Aaron Filson:

  • Studio & Pots: Updraft Pottery Studio (repo): live ceramics storefront in Tacoma, WA with static gallery pages and stock-aware Square checkout
  • Glaze & Clay Chemistry:
    • Glazecalc (repo): free web glaze chemistry calculator (UMF, limits, swaps, firing logs, 57 languages, MCP)
    • glazecalc-core: pure, stateless glaze and clay-body chemistry library powering Glazecalc and Glaze Vault
    • glazecalc-catalog: verified oxide, Orton/SK cone, limit formula, density, expansion, and material tables
    • glaze-vault: encrypted offline desktop and mobile recipe vault built on Glazecalc's chemistry engine
    • Ceramic Material Assay: estimates oxide compositions and UMF for wild clays, rocks, and wood ash for Glazecalc and Glaze Vault
  • Kiln Engineering: kilnscrub: exhaust scrubber designer, CAD/BOM build-packet exporter, and controller for wood, gas, soda, and salt kilns
  • Community Studio Ops: studiomanager: operations platform for community pottery studios covering pieces, kiln queues, firing fees, ledger, and glaze books

About

Design your kiln, get plans, make pots.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages