class steno3d.core.Mesh2D

Mesh for triangulated Steno3D Surface resources

This mesh provides the geometry for triangulated Surface resources. It consists of an m x 3 array of spatial vertices and an n x 3 array of vertex indices to define the triangles. Triangle values must be between 1 and m. Mesh2D has additional options to customize the appearance of the surface.

Mesh2D implements props.HasProps for dynamic, type-checked properties

Required Properties:

Vertices (props.Array) - Spatial coordinates of surface vertices, Shape: {*, 3}, DataType: float

Triangles (props.Array) - Vertex indices of surface triangles, Shape: {*, 3}, DataType: int

Optional Properties:

Opts (props.Instance) - Options for the mesh, Class: Mesh2DOptions

Title (props.String) - Content title

Description (props.String) - Content description


See also steno3d.core.Surface, steno3d.core.opts.Mesh2DOptions