---
name: mold-design
description: Use when designing 3D-printable molds for casting — a printed positive plus a mold box for pouring plaster (ceramics, slip or press molds), split two-part negative molds for candles/wax/soap/resin, or multi-cavity "brick" molds. Covers undercuts, draft, parting lines, pour openings, wick holes, registration pins, clamping, printer-bed fit (Bambu A1 mini), and matching a shape from a photo.
triggers: [mold, mould, candle, candle mold, plaster, ceramic, ceramics, slip casting, press mold, positive, negative, undercut, draft, parting line, wick, wax, ornament, bubble plate, mold box, 3d print, stl, a1 mini, bambu]
---

# Designing printable molds

Reference builds (public — read their code before starting a similar one):
- Plaster mold kit around a printed positive — [live](https://dcm31--01a0e4ab4fc1756ca7cf7e39485c6fe7.web.val.run) · [source](https://www.val.town/x/dcm31/donut-dish) · geometry: [`shared/mold.ts`](https://www.val.town/x/dcm31/donut-dish/code/shared/mold.ts)
- Split candle molds + base, and a 2-up ornament brick — [live](https://dcm31--01a0e4d3262675d1882b2d1857705989.web.val.run) · [source](https://www.val.town/x/dcm31/candle-molds) · geometry: [`shared/candle.ts`](https://www.val.town/x/dcm31/candle-molds/code/shared/candle.ts), [`shared/ornament.ts`](https://www.val.town/x/dcm31/candle-molds/code/shared/ornament.ts)
- Engineering side (CSG, STL, viewer, verification): the `cad-vals` skill.
- Slicing and sending to the Bambu A1 mini: the `3d-printing-workflow` skill.

## 1. Pin down the process before modeling

Ask or infer, then state it back in one line:
- **What is printed** and **what is cast into what.** "Positive" = the object's shape (plaster gets poured around it). "Negative" = the cavity (wax/clay goes in it).
- **Pull direction** — which way each cast piece comes off. Every design decision follows from this.
- **Pour opening** — where liquid enters. For candles it is the wide end (the candle base) or a cap; make it the full width of that end.
- **What holds it together** — tape, rubber bands, binder clips, a base pocket. Don't invent snap clips unless asked; printed snap hooks flex across layer lines and crack.
- **Printer** — Bambu A1 mini build volume is 180 × 180 × 180 mm. Keep 2 mm margin.

## 2. Undercuts (the #1 failure)

A surface is an undercut if its normal points *against* the pull direction (for plaster lifted straight up off a positive: any down-facing surface the plaster can wrap under).

- Check **every** surface, not just the obvious outside bulge. A rounded rim curls *inward* over a recessed floor too — that inner lip locks plaster just like the outer one. The user will usually only mention the outer one.
- Fix: below the widest point on each side (outer and inner equator), go **straight down with draft**. Start the straight wall where the curve's tangent equals the draft angle so it's tangent-continuous (no visible crease).
- Draft: 2° on positives for plaster, 1° on a rigid mold-box wall (narrower at the top so it lifts off). Plaster *expands* ~0.2 % on setting and will grip a zero-draft rigid ring.
- Verify numerically: no triangle of the positive (above the base) has a downward normal; the steepest should be `sin(draft)`.
- Split two-part molds have no undercut problem for axisymmetric shapes if the parting plane contains the axis. Twisted/fluted shapes DO undercut a two-part split — flag it.

## 3. Plaster mold box around a positive (ceramics)

- **Base**: flange + raised spigot; the positive is printed on top of the spigot as one piece.
- **Wall**: ring that slides over the spigot and rests on the flange shoulder (6 mm overlap, 0.15 mm radial clearance, flush outer diameter so tape spans the seam). Chamfer the ring's inner bottom edge 0.8 mm to absorb elephant's foot.
- **Plaster thickness**: ≥ 20 mm around the positive, ~25 mm over the top, + 3 mm freeboard in the wall. Thinner = bigger piece but a more fragile mold — offer the trade-off (15 / 20 / 25 mm) rather than silently picking.
- Report the **plaster volume (mL)** — the user needs it to mix plaster. Compute it exactly as the volume of (wall interior − positive).
- Remind once: clay shrinks ~10–15 % when fired, so the finished piece is smaller than the positive.

## 4. Split negative molds (candles, wax, soap)

- **Block halves**, split on a plane through the axis. Rectangular outside = flat faces for clips/bands and stable standing.
- **Make both halves the same print**: put registration pins on one side (+x) and sockets at the mirrored spots (−x). Half B = half A rotated 180° about the vertical axis. Only one STL; "print ×2".
- Pins: conical, base Ø5 → tip Ø4, 3 mm tall; sockets +0.2 mm radial and +0.2 mm deep. Place them only where ≥ 2 mm of plastic separates the socket from the cavity; skip zones where the shape is widest. Avoid x = 0 (a pin there maps onto itself).
- **Print each half lying on its back, parting face up.** The cavity becomes an open groove (a height field) — no supports, and the parting face is a top surface: tell the user to enable **ironing** so it seals.
- **Wick**: 2 mm hole through the closed end on the axis. If the mold stands on that end, cut a groove (~2.6 wide × 1.8 deep) under it from the hole to the edge so it sits flat with the wick out.
- **Top-off**: extend the cavity 2–3 mm past the pour end so it can be overfilled and leveled (wax shrinks and sinks).
- **Base (when wanted)**: plate + boss with a pocket that grips the closed halves (10 mm deep, 0.25 mm clearance per side, 1.2 mm chamfered lead-in), wick hole + underside groove. 100 × 100 plate keeps a ~20 cm mold from tipping.
- **Multi-cavity bricks** (e.g. two ornaments): cavities side by side along x, 8 mm wall between, 6 mm ends, 5 mm behind; pins at the corners and near the middle-bottom/top where the shapes are narrow.

## 5. Fitting the printer

- A long half fits diagonally when `(L + W) / √2 ≤ 176`. Pre-rotate the exported STL 45° and centered so the user can drop it straight into the slicer.
- If the real object is too long (tall taper candles ≈ 28 cm vs ~20 cm max), **keep real widths** (22 mm candle base = standard holder, feature diameters) and shorten the plain sections (straight base, taper). Say explicitly what was shortened and offer splitting into sections if they need full height.
- Show a "fits A1 mini" badge computed from the actual geometry, and a print-bed view.

## 6. Matching a shape from a photo

- Anchor scale on a known dimension (taper candle base 22 mm; ornaments 60/70/80 mm), then take ratios in pixels: feature width/height, neck width, section lengths.
- Build the profile from a few named primitives and keep proportions:
  - **Bubble stack**: base cylinder → spheres (R 16, pitch 28 so they merge with a neck) → taper → dome tip. Join cylinder/taper where the sphere radius equals theirs.
  - **Bowl stack**: each bowl = ellipse arc from the neck out to the rim, then a short vertical rim and a flat top. Start the arc with its center *inside* the neck so it leaves at ~25°; a horizontal start makes a zero-thickness slot (fragile knife-edge in the mold).
  - **Ball ornament**: sphere + collar (Ø24 × 3) + neck (Ø18 × 7, the pour opening), and a **barely-there flat** on the bottom (Ø18 ≈ 1.2 mm off a 70 mm ball) so it doesn't roll.
- Show the result as a finished-object view next to the mold so the user can judge likeness.

## 7. Verify before reporting

Run these (see `cad-vals` for code) and state that they passed:
1. Every printed part is watertight/manifold.
2. Positives: no down-facing surfaces (undercut check).
3. Two halves: `A ∩ rotate(A, 180°)` volume = 0 (pins clear sockets).
4. Cast object ∩ mold material = 0, and cavity volume ≈ object volume (+ top-off).
5. Parts fit their base pocket without intersecting.
6. Bounding boxes fit the bed (diagonal if needed).

## 8. Reporting to the user

Short: link, what the parts are and how they go together, the numbers that matter (size, plaster/wax mL, part sizes), anything you changed from what they said (e.g. shortened height, straightened an inner lip), then one question if there's a real trade-off.
