Sheriff's Office
A one-storey frontier sheriff's office and jail: false front with a blank signboard, a covered porch with a bench, a front door on a hinge (door rotates about y), an office window and barred cell windows. Timber, adobe or stone walls; the windows and the porch lamp glow at night.
- Size
- 7.2 × 5.7 × 9.5 m
- Triangles
- 1,448
- Kit
- Wild West
Tune it
4 knobs: Walls, Trim, Width, Porch.
Specs
- Size
- 7.2 × 5.7 × 9.5 m width × height × depth
- Triangles
- 1,448 of 6,000
- Draw calls
- 1 one vertex-colour material
- Moving parts
- 1 door · rotate
- Knobs
- 4 3 presets
- Night lights
- 2 window, lamp
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/sheriff-office.mjs';
const sheriffOffice = createAsset();
scene.add(sheriffOffice); // rests on y = 0, front faces +Z
// 'door' pivots on its hinge: -100° to 0° around y
sheriffOffice.getObjectByName('door').rotation.y = THREE.MathUtils.degToRad(-100);import { useMemo } from 'react';
import { createAsset } from 'https://gaitkit.com/cdn/sheriff-office.mjs';
export function SheriffOffice() {
const model = useMemo(() => createAsset(), []);
return <primitive object={model} />;
}# Import sheriff-office.glb (download below). Moving parts are separate nodes, pivoted on their hinge.
$SheriffOffice/door.rotation_degrees.y = -100// Import sheriff-office.glb with glTFast (com.unity.cloud.gltfast).
transform.Find("door").localEulerAngles = new Vector3(/* y: */ -100, 0, 0);Use the gaitkit MCP server: get_variant({ "id": "sheriff-office", "want": "default look" })
then place the result.
# MCP endpoint
https://gaitkit.com/mcpKnobs
| Knob | Type | Values | Default | What it does |
|---|---|---|---|---|
walls | choice | timber adobe stone | timber | timber (weathered clapboard with a stepped false front), adobe (rounded mud-brick parapet with log beam ends), stone (rough block jail with a flat cornice). |
trim | color | any colour | #3f5a4a | Colour of the door, window frames and signboard. #3f5a4a dark green, #7a3b2e oxblood, #3e5566 slate blue, #d8cdb5 cream. |
width | range | 6 to 9, step 0.5 | 6.5 | Street frontage in metres; wider buildings get a second barred cell window on the front. Depth stays 7 m. |
porch | toggle | on / off | true | Covered boardwalk porch on posts with a bench. Off leaves a bare step at the door. |
Presets: adobe jail {"walls":"adobe","trim":"#3e5566"} · stone lockup {"walls":"stone","trim":"#7a3b2e","width":8} · marshal post {"walls":"timber","trim":"#d8cdb5","porch":false}
Files
| File | What |
|---|---|
| sheriff-office.glb | GLB, default look · 218 KB |
| sheriff-office.mjs | ES module, every knob live |
| sheriff-office.obj | OBJ, static, no colour |
| sheriff-office-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.