Build a .glb from a kind or a spec
three_model_buildGenerate a clean, deterministic .glb 3D model from a preset kind and parameters or a custom spec without Blender, and write it to your project for review.
Instructions
Make a clean .glb without Blender: a ready-made kind (car, tree, house, boat, aircraft, terrain, ... see three_model_spec) with params, or your own spec. Deterministic (the same request gives the same bytes), a node per part with UVs and normals, unique node names as GLTFLoader shows them. Writes out in the project (undoable with three_undo) and returns the size, triangles and the lint. Look at it with three_model_view afterwards.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"out": "<out>"
},
"name": "three_model_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | where to write the .glb, e.g. public/models/car.glb | |
| kind | No | ||
| path | No | Project folder, or a file or folder in it (relative to the server's folder; default: the project). | |
| seed | No | ||
| spec | No | a full model spec (JSON object) | |
| params | No | ||
| textures | No | false: plain colours instead of texture maps (smaller) |