Mesh¶
ferreus_rmt.Mesh
¶
Triangle mesh returned by isosurface extraction.
vertices
property
¶
Vertex coordinates with shape (V, 3).
Returns:
| Type | Description |
|---|---|
NDArray[float64]
|
Array of the vertices. |
facets
property
¶
Triangle vertex indices with shape (F, 3).
Returns:
| Type | Description |
|---|---|
NDArray[uintp]
|
Array of triangles. |
save_obj(path, name)
staticmethod
¶
Save this mesh to a Wavefront OBJ file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
File path to save the obj to. |
required |
name
|
str
|
Object name for the mesh. |
required |