Skip to main content

VolumeMeshGeometryData

Other

Represents a volume mesh using vertex positions, flat cell connectivity, and optional RGB color arrays.

Import​

import ScriptingApi as api

# Access the class
# VolumeMeshGeometryData is available via api.VolumeMeshGeometryData

Properties​

vertices​

Vertex positions [x, y, z].

Type: list


cell_connectivity​

Flat list of vertex indices for all cells.

Type: list


cell_sizes​

Number of indices used by each cell.

Type: list


cell_types​

Cell type values for each cell. Use api.VolumeMeshCellType.* values.

Type: list


vertex_colors​

Optional RGB colors [r, g, b] for each vertex. Values must be in the range [0, 1].

Type: list


cell_colors​

Optional RGB colors [r, g, b] for each cell. Values must be in the range [0, 1].

Type: list


See Also​