# Box with lid

A box made to the size you measure, inside or outside, with a friction, snap, sliding, magnetic or hinged lid that fits, dividers and a name on the lid.

- Page: https://paramlet.com/tools/box-with-lid/
- Tool id: `box-with-lid` · version 1.2.0 · Paramlet Module Spec 1.1 · API version 1 · docs: https://paramlet.com/agents/
- Category: home / household · status: live
- Parameter schema (JSON Schema): https://paramlet.com/tools/box-with-lid/schema.json · presets: https://paramlet.com/tools/box-with-lid/presets.json
- Core parameters (`exportFormat`, `exportTol`, `units`) are in schema.json under `x-coreParams`, not `properties`; both are accepted.
- Presets: `gift-box-with-name-on-lid` (Gift box with a name on the lid), `sliding-lid-box-for-small-parts` (Sliding-lid box for small parts), `snap-lid-jewellery-box` (Jewellery box with a snap lid), `tea-bag-box` (Tea bag box), `screw-box-with-dividers` (Screw and bit box with dividers), `magnetic-lid-box` (Box with a magnetic lid), `hinged-jewellery-box` (Hinged ring / jewellery box), `aa-aaa-battery-box` (AA and AAA battery box), `carved-lid-desk-tray` (Desk tray with a carved lid), `carved-lid-trinket-box` (Trinket box with a carved lid). Each has a page: https://paramlet.com/tools/box-with-lid/gift-box-with-name-on-lid/, https://paramlet.com/tools/box-with-lid/sliding-lid-box-for-small-parts/, https://paramlet.com/tools/box-with-lid/snap-lid-jewellery-box/, https://paramlet.com/tools/box-with-lid/tea-bag-box/, https://paramlet.com/tools/box-with-lid/screw-box-with-dividers/, https://paramlet.com/tools/box-with-lid/magnetic-lid-box/, https://paramlet.com/tools/box-with-lid/hinged-jewellery-box/, https://paramlet.com/tools/box-with-lid/aa-aaa-battery-box/, https://paramlet.com/tools/box-with-lid/carved-lid-desk-tray/, https://paramlet.com/tools/box-with-lid/carved-lid-trinket-box/
- Deep link with parameters: `https://paramlet.com/tools/box-with-lid/?p=<url-encoded JSON>` or single values `?key=value`
- Deep link with a project: `https://paramlet.com/tools/box-with-lid/#project=<base64url project JSON>` (8,000 characters max)
- In the page: `window.paramlet` (getSchema, getParams, getState, getRecommendedMaterials, setParams, loadProject, getProject, exportModel, exportSTL, export3MF).
- WebMCP tools: `box_with_lid_get_parameter_schema`, `_get_state`, `_set_parameters`, `_load_project`, `_download`, and `get_recommended_materials`.
- Validation: unknown keys and out-of-range values are rejected; nothing is applied from an invalid request. Keys with x-agentSafe false can only be changed in the page.
- Output: 3mf, stl (default 3mf), millimetres, parts lying on the bed in print orientation. Every download contains README.txt and parameters.json (a project file).
- Downloads: free and unlimited at launch; API exports use the same download path as the button, including a short page with recommended products (affiliate links) that the user closes before the file starts.
- Export types: `3mf`, `stl`.

## Features

- Inside or outside sizes: the room is the size you measured, 10 to 240 mm
- Five lids: a friction cap, a snap cap with a bead, a sliding lid in rabbets, a flat lid on magnets, and a hinged lid that prints in place
- Lid play from 0.05 to 0.6 mm, with a fit coupon of three tiny boxes to find your printer's
- Dividers, up to six each way, kept clear of the lid
- Round magnets, 3 to 8 mm, in a ledge round the rim and in the lid
- A name on the lid in four letter styles, raised or engraved, in one or two colours
- Finger notches to lift the lid, round corners, a warning when a part leaves the plate
- A lid in a colour of its own, and a carved ornament of diamonds and zigzag lines cut up to 1.6 mm deep

## Use cases

- A Christmas gift box with a name on the lid
- A sliding-lid box for screws, bits and SD cards
- A jewellery box whose lid clicks shut
- A tea bag box for the kitchen drawer
- A battery box for AA and AAA
- A flat lid that stays shut on magnets
- A ring box whose lid turns on a hinge printed in place
- A desk tray with a carved lid in a colour of its own

## Safety

- Printed plastic is not food-safe unless the filament says so: keep tea bags in their original wrapping.
- Magnets are small parts: keep them away from children under three.

## Recommended materials & tools

_As an Amazon Associate Paramlet earns from qualifying purchases. Some links are affiliate links; we may earn a commission at no extra cost to you._

- [Matte PLA Filament 1.75 mm (1 kg) — smooth surface finish](https://paramlet.com/go/pla-matte-filament?src=agent) — Clean matte finish for decorative vases, ornaments and candle holders. (Affiliate link (Amazon Associates, tag paramlet-21))
- [PETG Filament 1.75 mm (1 kg) — heat-resistant & durable](https://paramlet.com/go/petg-filament-1kg?src=agent) — Stronger and more heat-resistant than PLA for molds, jigs and outdoor parts. (Affiliate link (Amazon Associates, tag paramlet-21))

## FAQ

**Why does the lid not fit?**
Every printer prints walls a little wide or narrow. The fit coupon has the same box in little at three plays: print it, try the lids, and set the play to the tightest that goes on with a push. PETG usually wants 0.05 mm more than PLA.

**What is the difference between the cap and the snap lid?**
Both have a rim that goes over the walls and a plug that goes inside the mouth. The snap lid has a bead on the plug that clicks into a groove round the inside of the box, so it holds shut; the friction lid is held by the play alone.

**How does the sliding lid work?**
The side walls are a little thicker and carry rabbets near the top. The front and back walls are lower, so the lid slides in over them and lies almost flush. It rests in open rabbets: slide it, or lift it out.

**How do the magnets go in?**
With the flat lid the rim of the box gets a ledge with round pockets, and the lid has pockets in its underside right above them. Push 6 × 3 mm magnets (or 3 to 8 mm of your own) in with a drop of glue, opposite poles facing. The lid also has a shallow plug, so it finds its place.

**Does the top of the lid print well?**
A cap lid prints on its rim, so its plate spans the box as a bridge: the top face stays flat, the first strands may sag a little on the inside of a wide lid. The sliding lid and the flat lid print flat.

**Is there a box for AA batteries?**
Yes: four AA side by side need 66 mm inside with the dividers, and a row of AA next to a row of AAA 100 mm, 16 mm high. It is one of the presets.

**What if my box is too big for the printer?**
Parts up to 250 mm fit a 256 mm plate. The page warns when the box or the lid is larger, and when the parts do not fit side by side.

**How does the hinged lid work?**
The box's height is split half and half: the base and the lid are both trays, printed side by side on their floors with the lid open flat behind the box. A hinge along the two back walls joins them: three or five knuckles round a pin, the box's and the lid's alternately, each with play round and between them. The lid turns as soon as the print is off the plate; work it back and forth a few times to free it.

**Why is the text on a hinged lid engraved?**
A hinged lid prints with its outside on the plate, so that the lid lies flat and the box prints without supports. Raised letters would be under the plate; engraved letters print crisp that way, and in two colours the letters sit flush in the engraving, printed first. If the hinge does not turn, the play is too small for your printer: take 0.05 mm more, or print the fit coupon, which has the hinge in little at three plays.

## Parameters

| key | label | type | range / values | default | agents |
|---|---|---|---|---|---|
| `sizeBasis` | My sizes are | string | inside|outside | "inside" | yes |
| `width` | Width | number | 10–240 mm (step 1) | 80 | yes |
| `depth` | Depth | number | 10–240 mm (step 1) | 60 | yes |
| `height` | Height | number | 5–120 mm (step 1) | 30 | yes |
| `wall` | Wall thickness | number | 1.2–3 mm (step 0.2) | 1.6 | yes |
| `corner` | Corner radius | number | 0–15 mm (step 1) | 6 | yes |
| `rows` | Dividers across | integer | 0–6 count (step 1) | 1 | yes |
| `cols` | Dividers along | integer | 0–6 count (step 1) | 0 | yes |
| `lidType` | Lid | string | cap|snap|slide|magnet|hinge | "cap" | yes |
| `hingeKnuckles` | Hinge knuckles | string | 3|5 | "3" | yes |
| `hingePlay` | Hinge play | number | 0.3–0.6 mm (step 0.05) | 0.4 | yes |
| `lidTolerance` | Lid play (per side) | number | 0.05–0.6 mm (step 0.05) | 0.2 | yes |
| `lidHeight` | Lid rim height | number | 6–30 mm (step 1) | 10 | yes |
| `lidThickness` | Lid thickness | number | 1.2–3 mm (step 0.2) | 1.6 | yes |
| `notch` | Finger notches | integer | 0|1 | 1 | yes |
| `discLayout` | Magnets | string | 4|8 | "4" | yes |
| `magnetDiameter` | Magnet diameter | number | 3–8 mm (step 0.5) | 6 | yes |
| `magnetHeight` | Magnet thickness | number | 1–5 mm (step 0.5) | 3 | yes |
| `fitCoupon` | Fit coupon | integer | 0|1 | 1 | yes |
| `lidTexture` | Lid surface texture | string | none|folk|wood|diamond|hex|basketweave|hammered|waves|dots|ornament | "none" | yes |
| `textureDepth` | Texture depth | number | 0.3–1.6 mm (step 0.1) | 0.6 | yes |
| `textureScale` | Texture scale | number | 4–36 mm (step 1) | 9 | yes |
| `text` | Name or word | string | string | "Mum" | yes |
| `text2` | Second line | string | string | "" | yes |
| `font` | Letter style | string | lilita|pacifico|varela|barlow | "lilita" | yes |
| `letterHeight` | Letter height | number | 6–40 mm (step 1) | 16 | yes |
| `letterSpacing` | Letter spacing | number | -0.05–0.3 ratio (step 0.01) | 0.02 | yes |
| `letterStyle` | Letters | string | raised|engraved | "raised" | yes |
| `letterDepth` | Letter height / depth | number | 0.6–1.6 mm (step 0.2) | 1.2 | yes |
| `colorMode` | Colours | string | single|multi | "multi" | yes |
| `boxColor` | Box colour | string | string | "#9b1c1c" | yes |
| `lidColor` | Lid colour | string | string | "#9b1c1c" | yes |
| `letterColor` | Letter colour | string | string | "#f1e9d8" | yes |
| `material` | Filament | string | pla|petg | "pla" | yes |
| `wallCount` | Perimeter walls | integer | 2–6 count (step 1) | 4 | yes |
| `infill` | Infill | integer | 5–100 pct (step 5) | 15 | yes |
| `layerHeight` | Layer height | number | 0.16–0.3 mm (step 0.02) | 0.2 | yes |
