Closed DONGTING98 closed 11 months ago
Hello!
I am trying to use mesh_to_voxels from mesh_to_sdf import mesh_to_voxels import trimesh import pyrender
from mesh_to_sdf import mesh_to_voxels
import trimesh
import pyrender
mesh = trimesh.load(file) voxels = mesh_to_voxels(mesh, 64, pad=True) vv, ff, nn, _ = skimage.measure.marching_cubes(vv,level=0) mesh0 = trimesh.Trimesh(vv,ff,nn) mesh0.show()
mesh = trimesh.load(file)
voxels = mesh_to_voxels(mesh, 64, pad=True)
vv, ff, nn, _ = skimage.measure.marching_cubes(vv,level=0)
mesh0 = trimesh.Trimesh(vv,ff,nn)
mesh0.show()
and it shows some error what should I do?
Thanks a lot.
How did you solve this problem?
Hello!
I am trying to use mesh_to_voxels
from mesh_to_sdf import mesh_to_voxels
import trimesh
import pyrender
mesh = trimesh.load(file)
voxels = mesh_to_voxels(mesh, 64, pad=True)
vv, ff, nn, _ = skimage.measure.marching_cubes(vv,level=0)
mesh0 = trimesh.Trimesh(vv,ff,nn)
mesh0.show()
and it shows some error what should I do?
Thanks a lot.