Skip to main content

BasicSurfaceMeshInfo

Other

Holds basic information about a surface mesh.

Import

import ScriptingApi as api

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

Properties

vertex_count

Represents the total number of vertices (points) in the surface mesh.

Type: int


polygon_count

Represents the total number of polygons (typically triangles) in the surface mesh.

Type: int


bounding_box_minimum

Represents the minimum coordinates [x, y, z] of the bounding box enclosing the surface mesh.

Type: list


bounding_box_maximum

Represents the maximum coordinates [x, y, z] of the bounding box enclosing the surface mesh.

Type: list


bounding_box_dimensions

Represents the dimensions [width, height, depth] of the bounding box.

Type: list


bounding_box_centroid

Represents the centroid (center point) [x, y, z] of the bounding box.

Type: list


bounding_box_diagonal

Represents the diagonal length of the bounding box.

Type: float


bounding_box_radius

Represents the radius of the bounding box.

Type: float


bounding_box_area

Represents the surface area of the bounding box.

Type: float


bounding_box_volume

Represents the volume of the bounding box.

Type: float


See Also