Mailbox
A kerbside mailbox at real height (slot about 1.05 m off the ground): a rural tunnel box on a post, a modern steel box or a brick pillar box, with a front door that drops open (door) and a red side flag that swings up to say there is mail (flag).
- Size
- 0.21 × 1.2 × 0.52 m
- Triangles
- 336
Tune it
4 knobs: Style, Paint, Flag up, Flowers.
Specs
- Size
- 0.21 × 1.2 × 0.52 m width × height × depth
- Triangles
- 336 of 6,000
- Draw calls
- 1 one vertex-colour material
- Moving parts
- 2 door · rotate, flag · rotate
- Knobs
- 4 3 presets
- Night lights
- 0 none
Passed the validator: real scale, rests on y = 0, front faces +Z, deterministic.
Use it
Code for the specimen as it is set up above; it follows your knobs.
import { createAsset } from 'https://gaitkit.com/cdn/mailbox.mjs';
const mailbox = createAsset();
scene.add(mailbox); // rests on y = 0, front faces +Z
// 'door' pivots on its hinge: 0° to 95° around x
mailbox.getObjectByName('door').rotation.x = THREE.MathUtils.degToRad(0);import { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/mailbox.mjs';
export function Mailbox() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import mailbox.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
$Mailbox/door.rotation_degrees.x = 0// Import mailbox.glb with glTFast (com.unity.cloud.gltfast).
transform.Find("door").localEulerAngles = new Vector3(/* x: */ 0, 0, 0);Use the gaitkit MCP server: get_variant({ "id": "mailbox", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
style | choice | rural modern pillar | rural | rural (the classic round-topped tunnel box on a wooden post), modern (a square steel box with a newspaper tube on a slim metal post), pillar (a box set into a waist-high brick pillar with a stone cap). |
paint | choice | black red green silver white navy | black | Colour of the box: black, red, green, silver, white or navy. The flag stays signal red (yellow on a red box). |
flag | toggle | on / off | true | Raise the side flag (outgoing mail waiting). Off lays it flat along the box. Either way it is rigged so it can swing. |
planter | toggle | on / off | false | A little ring of flowers and a stone edge round the foot of the post. |
Presets: country lane {"style":"rural","paint":"green","flag":true,"planter":true} · new build {"style":"modern","paint":"silver","flag":false} · brick gatepost {"style":"pillar","paint":"black","flag":false}
Files
| File | What |
|---|---|
| mailbox.glb | GLB, default look · 44 KB |
| mailbox.mjs | ES module, every knob live |
| mailbox.obj | OBJ, static, no colour |
| mailbox-params.json | knob schema, presets, night zones |
Licence
Use it in games, apps, renders and client work, commercially and without credit. Do not resell it as an asset or train a 3D generator on it. The full licence.