Gaitkit Open the lab
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.
Building · 1 moving part

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
Open in the lab Ready for any engine. The download carries the knobs you set here.

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.

JavaScript
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);

More in the docs; agents can fetch all of this through MCP.

Knobs

KnobTypeValuesDefaultWhat it does
wallschoicetimber adobe stonetimbertimber (weathered clapboard with a stepped false front), adobe (rounded mud-brick parapet with log beam ends), stone (rough block jail with a flat cornice).
trimcolorany colour#3f5a4aColour of the door, window frames and signboard. #3f5a4a dark green, #7a3b2e oxblood, #3e5566 slate blue, #d8cdb5 cream.
widthrange6 to 9, step 0.56.5Street frontage in metres; wider buildings get a second barred cell window on the front. Depth stays 7 m.
porchtoggleon / offtrueCovered 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

FileWhat
sheriff-office.glbGLB, default look · 218 KB
sheriff-office.mjsES module, every knob live
sheriff-office.objOBJ, static, no colour
sheriff-office-params.jsonknob 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.