Appearance
Walls
A JSON object containing all Wall entities in the project. Walls are indexed by numerical keys, allowing access via walls[0], walls[1], etc.
Element Object
| Key | Type | Description |
|---|---|---|
meshes | Array<Mesh> | 3D representations of the element. |
dsProps | Object | Wall properties. |
geometries | Object | Vertex data defining the geometry mesh. |
Mesh Object
The Mesh object contains the standard 3D data and Snaptrude-specific properties.
| Key | Type | Description |
|---|---|---|
uniqueId | Number | The globally unique identifier for this element (referenced by Storeys). |
name | String | Name of the mesh. |
position | Array<Number> | [x, y, z] position. |
rotation | Array<Number> | [x, y, z] rotation (Euler angles). |
scaling | Array<Number> | [x, y, z] scaling. |
localMatrix | Array<Number> | 16-element array representing the transformation matrix. |
geometryId | String | Reference to the geometry definition. |
materialId | String | Reference to the material. |
subMeshes | Array | Sub-mesh definitions (indices, vertices count). |