Skip to content
Snippets Groups Projects
Commit b46044d5 authored by s214735's avatar s214735
Browse files

Second check

parent cfe40624
Branches
No related tags found
No related merge requests found
...@@ -25,8 +25,8 @@ def volume(obj, logs: bool = True, **mesh_kwargs) -> float: ...@@ -25,8 +25,8 @@ def volume(obj, logs: bool = True, **mesh_kwargs) -> float:
mesh = qim3d.io.load_mesh('path/to/mesh.obj') mesh = qim3d.io.load_mesh('path/to/mesh.obj')
# Compute the volume of the mesh # Compute the volume of the mesh
vol = qim3d.features.volume(mesh) volume = qim3d.features.volume(mesh)
print('Volume:', vol) print('Volume:', volume)
``` ```
Compute volume from a np.ndarray: Compute volume from a np.ndarray:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment