Skip to content

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

KeyTypeDescription
meshesArray<Mesh>3D representations of the element.
dsPropsObjectWall properties.
geometriesObjectVertex data defining the geometry mesh.

Mesh Object

The Mesh object contains the standard 3D data and Snaptrude-specific properties.

KeyTypeDescription
uniqueIdNumberThe globally unique identifier for this element (referenced by Storeys).
nameStringName of the mesh.
positionArray<Number>[x, y, z] position.
rotationArray<Number>[x, y, z] rotation (Euler angles).
scalingArray<Number>[x, y, z] scaling.
localMatrixArray<Number>16-element array representing the transformation matrix.
geometryIdStringReference to the geometry definition.
materialIdStringReference to the material.
subMeshesArraySub-mesh definitions (indices, vertices count).