Water Trough
A livestock water trough 2 m long by default: planked wood with per-board tones, iron bands and bolts on two skids, a round-ended galvanised stock tank with a rolled rim, swaged ribs and a drain plug, or a hewn granite trough with a chamfered coping and moss, filled to a chosen level. A cast-iron pitcher pump on a stone block stands at the right-hand end; its handle is a rotate part that pumps on the stage, and a wooden bucket waits beside it.
- Size
- 3.1 × 1.5 × 1.0 m
- Triangles
- 1,965
- Kit
- Farm
Tune it
4 knobs: Material, Length, Pump, Water.
Specs
- Size
- 3.1 × 1.5 × 1.0 m width × height × depth
- Triangles
- 1,965 of 6,000
- Draw calls
- 1 one vertex-colour material
- Moving parts
- 1 handle · 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/water-trough.mjs';
const waterTrough = createAsset();
scene.add(waterTrough); // rests on y = 0, front faces +Z
// 'handle' pivots on its hinge: -25° to 25° around z
waterTrough.getObjectByName('handle').rotation.z = THREE.MathUtils.degToRad(-25);import { useGLTF } from '@react-three/drei';
// water-trough.glb from the Download button (it carries the knobs you set), saved in /public
export function WaterTrough() {
const { scene } = useGLTF('/water-trough.glb');
scene.getObjectByName('handle').rotation.z = -0.436; // -25°, on its hinge
return <primitive object={scene} />;
}
// Live knobs or terrain-following feet: copy water-trough.mjs and runtime/ into your project and use the three.js tab.# Import water-trough.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
$WaterTrough/handle.rotation_degrees.z = -25// Import water-trough.glb with glTFast (com.unity.cloud.gltfast).
transform.Find("handle").localEulerAngles = new Vector3(/* z: */ -25, 0, 0);Use the gaitkit MCP server: get_variant({ "id": "water-trough", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
material | choice | wood metal stone | wood | wood (planks with iron bands on two skids), metal (round-ended galvanised stock tank with a rolled rim), stone (heavy hewn granite with a touch of moss). |
length | range | 1.2 to 3, step 0.1 | 2 | Trough length in metres along X. It is about 0.7 m wide and 0.6 m tall. |
pump | choice | red green black none | green | Paint of the hand pump at the right-hand end: red, green or black cast iron, or none for a plain trough. |
water | range | 0 to 1, step 0.05 | 0.85 | Water level, 0 empty to 1 brimming. |
Presets: stable trough {"material":"wood","pump":"red"} · stock tank {"material":"metal","length":2.6,"pump":"none"} · village fountain {"material":"stone","length":1.6,"pump":"black"}
Files
| File | What |
|---|---|
| water-trough.glb Pro | GLB, default look · 347 KB |
| water-trough.mjs Pro | ES module, every knob live |
| water-trough.obj Pro | OBJ, static; colours in the .mtl |
| water-trough.mtl | OBJ colours; keep it next to the .obj |
| water-trough-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.