Skip to content
Snippets Groups Projects
Commit d58dc824 authored by Alessia Saccardo's avatar Alessia Saccardo
Browse files

add html visualization of mesh of previous task

parent fd14d38a
No related branches found
No related tags found
1 merge request!126Sphericity
This commit is part of merge request !126. Comments created here will be created in the context of that merge request.
......@@ -39,7 +39,7 @@ def create_mesh(
mesh = qim3d.processing.create_mesh(vol, step_size=3)
qim3d.viz.mesh(mesh.vertices, mesh.faces)
```
<iframe src="https://platform.qim.dk/k3d/mesh_visualization.html" width="100%" height="500" frameborder="0"></iframe>
"""
if volume.ndim != 3:
raise ValueError("The input volume must be a 3D numpy array.")
......
......@@ -191,6 +191,7 @@ def mesh(
mesh = qim3d.processing.create_mesh(vol, step_size=3)
qim3d.viz.mesh(mesh.vertices, mesh.faces)
```
<iframe src="https://platform.qim.dk/k3d/mesh_visualization.html" width="100%" height="500" frameborder="0"></iframe>
"""
import k3d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment