Cargo Container
A standard corrugated steel shipping container (20 ft = 6.06 m or 40 ft = 12.19 m long, 2.44 m wide, 2.59 m tall) with corner castings, ribbed walls and two cargo doors on +Z (parts door_L and door_R, hinged on the outer edges, swing open up to 180 degrees). Stack up to three; the upper boxes get mixed colours.
- Size
- 2.5 × 2.6 × 6.2 m
- Triangles
- 1,068
- Kit
- Space Colony
Tune it
4 knobs: Colour, Length, Doors open, Stacked.
Specs
- Size
- 2.5 × 2.6 × 6.2 m width × height × depth
- Triangles
- 1,068 of 6,000
- Draw calls
- 1 one vertex-colour material
- Moving parts
- 2 door_L · rotate, door_R · 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/cargo-container.mjs';
const cargoContainer = createAsset();
scene.add(cargoContainer); // rests on y = 0, front faces +Z
// 'door_L' pivots on its hinge: -180° to 0° around y
cargoContainer.getObjectByName('door_L').rotation.y = THREE.MathUtils.degToRad(-180);import { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/cargo-container.mjs';
export function CargoContainer() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import cargo-container.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
$CargoContainer/door_L.rotation_degrees.y = -180// Import cargo-container.glb with glTFast (com.unity.cloud.gltfast).
transform.Find("door_L").localEulerAngles = new Vector3(/* y: */ -180, 0, 0);Use the gaitkit MCP server: get_variant({ "id": "cargo-container", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
colour | choice | rust ocean forest signal white grey mustard | rust | Paint of the bottom container: rust (oxide red), ocean (blue), forest (green), signal (orange), white, grey, mustard (yellow). Stacked boxes above pick other colours. |
length | choice | short long | short | short (20 ft, 6.06 m) or long (40 ft, 12.19 m). |
doors | toggle | on / off | false | Swings the bottom container's two doors wide open (180 degrees), showing the dark interior. |
stacked | range | 1 to 3, step 1 | 1 | How many containers are stacked, 1 to 3 (7.8 m tall at 3). Only the bottom one has working doors. |
Presets: port stack {"stacked":3,"length":"long","colour":"ocean"} · colony storage {"colour":"white","doors":true} · yard spare {"colour":"grey","stacked":2}
Files
| File | What |
|---|---|
| cargo-container.glb | GLB, default look · 173 KB |
| cargo-container.mjs | ES module, every knob live |
| cargo-container.obj | OBJ, static, no colour |
| cargo-container-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.