From 21833ceca9353f584a01beed53fd67c48441c6b1 Mon Sep 17 00:00:00 2001 From: bosakad <87597050+bosakad@users.noreply.github.com> Date: Sat, 27 Jul 2024 20:21:44 +0200 Subject: [PATCH] Update sdf_meshing.py --- sdf_meshing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdf_meshing.py b/sdf_meshing.py index b5516b76..d971ed5f 100644 --- a/sdf_meshing.py +++ b/sdf_meshing.py @@ -96,7 +96,7 @@ def convert_sdf_samples_to_ply( verts, faces, normals, values = np.zeros((0, 3)), np.zeros((0, 3)), np.zeros((0, 3)), np.zeros(0) try: - verts, faces, normals, values = skimage.measure.marching_cubes_lewiner( + verts, faces, normals, values = skimage.measure.marching_cubes( numpy_3d_sdf_tensor, level=0.0, spacing=[voxel_size] * 3 ) except: