Inspect an imported model
modelInspect imported 3D files or placed pieces by ID to verify units, size, triangles, materials, named parts, warnings, and clashes before insertion.
Instructions
Inspect an imported 3D model, a piece's (id) or a file before placing it: the unit taken (guessed from its size unless unit= or the piece says), natural size, triangles and where they go, materials with their images, named parts (OBJ objects and groups, glTF nodes: arms, seat, frame) with bounds and materials, and warnings for what is not drawn as the file says (a texture or material library not found, normal and roughness maps, extensions). For a piece that looks wrong after place model=…, instead of reading the file. part= keeps the parts named so; check=clashes finds parts passing through one another (a cushion through a rail), not those that touch. Reply {file, format, unit, raw, size cm, tris, materials [[name, color, image, tris]], parts [[name, tris, min, max, materials, "hidden" when hidden]] in cm of the piece (x across, y to the front, z up), cost {tris, heaviest [[part, tris, %]], copies, in_project}, warnings}; with id also piece {size, scale, far}; check adds clashes [[part, part, pairs, at, depth cm]], degenerate and checked (what was looked at). place model=… imports one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | A piece that uses an imported model, e.g. `f12` | |
| tol | No | check: how far a surface must pass the other to count, cm (default 0.05); touching is not a clash | |
| file | No | Instead of `id`: an .obj/.gltf/.glb file, before placing it | |
| part | No | Only the parts whose name has these words (`braco`), all of them | |
| unit | No | Unit of the file's numbers, `m`, `cm`, `mm` or `in` (default: the piece's, or guessed) | |
| check | No | `clashes`: which parts pass through one another, and faces with no area |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uv | No | ||
| raw | No | ||
| cost | No | ||
| file | Yes | ||
| size | Yes | ||
| tris | Yes | ||
| unit | Yes | ||
| parts | No | ||
| piece | No | ||
| format | Yes | ||
| images | No | ||
| meshes | No | ||
| checked | No | ||
| clashes | No | ||
| guessed | No | ||
| measures | No | ||
| warnings | Yes | ||
| materials | Yes | ||
| degenerate | No | ||
| references | No |