Live app: https://dcm31--01a0e4d3262675d1882b2d1857705989.web.val.run ·
Source: https://www.val.town/x/dcm31/candle-molds —
shared/candle.ts ·
shared/ornament.ts ·
frontend/viewer.ts ·
AGENTS.md ·
skills: mold-design,
cad-vals ·
sibling: donut-dish (plaster mold kit)
Raw source for agents (plain text): https://esm.town/v/dcm31/candle-molds/<path>, e.g.
https://esm.town/v/dcm31/candle-molds/skills/mold-design/SKILL.md
Two-part, 3D-printable candle molds plus a base, for the Bubble (three spheres) and Stack (six bowls) taper candles. Geometry is generated in the browser with manifold-3d CSG and previewed with three.js. Everything fits a Bambu A1 mini.
- Half ×2 — the same STL printed twice. A rectangular block split down the middle, with the
candle cavity cut in. Print flat side up (ironing on) — laid diagonally to fit.
- Candle is upside down: tip at the bottom with a 2 mm wick hole, pour opening at the top (full candle-base width, plus 3 mm to overfill and level).
- Three conical registration pins + sockets per half, placed away from the cavity. Because the pins are on one side and sockets on the other, the two halves are identical.
- Flat outer faces for binder clips.
- Base — 100 × 100 mm plate with a 10 mm deep pocket that grips the closed mold (0.25 mm clearance, chamfered lead-in), a 3.2 mm wick hole and a groove underneath so the wick can exit sideways and the base still sits flat.
Widths are real-candle sized (22 mm base, 32 mm features). Height defaults to 190 mm; the max (~198 mm) is set by the half fitting the 180 × 180 bed diagonally. The slider stretches the plain base and taper sections.
- One brick split in two identical halves (print ×2, flat side up), two ornaments side by side. Rubber-band the brick; four pins/sockets per half keep it aligned.
- Ornament stands upright: pour through the cap (collar Ø24 + neck Ø18, the pour opening).
- Barely-there flat on the bottom (default Ø18 = 1.2 mm off a 70 mm ball) so it doesn't roll.
- 2 mm wick hole at each bottom, with a groove under the brick out to the end so it sits flat.
- Default Ø70 (classic ornament); max Ø78 to fit two on the A1 mini. Half = 160 × 83 × 40 mm.
shared/candle.ts— candle profiles + mold CSG (pure; pass in the manifold wasm).frontend/viewer.ts— loads manifold from jsDelivr, builds, renders, exports STL client-side.main.tsx— serves the files.
Rendering mermaid diagram...