[Bug] AttributeError: module 'trimesh.voxel' has no attribute 'creation'
See original GitHub issueTrimesh version: 3.9.1
Hi. I discovered that trimesh reports the following error
AttributeError: module 'trimesh.voxel' has no attribute 'creation'
when trying to access the module. However, if a method from it is called, e.g.
m = trimesh.creation.box()
m.voxelized(pitch=.5)
then the module trimesh.voxel.creation
can be correctly found by the program.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
trimesh.voxel.creation — trimesh 3.17.1 documentation
Voxelize a mesh in the region of a cube around a point. When fill=True, uses proximity.contains to fill the resulting voxels so may...
Read more >trimesh - Bountysource
Trimesh version: 3.9.1. Hi. I discovered that trimesh reports the following error AttributeError: module 'trimesh.voxel' has no attribute 'creation'.
Read more >python - How do I convert a 3D point cloud (.ply) into a mesh ...
I solved the problem of generating a trimesh from a point cloud using ... mesh with the vertices and faces from open3d tri_mesh...
Read more >open3d.geometry.TriangleMesh
The surface reconstruction is done by rolling a ball with a given radius over the point cloud, whenever the ball touches three points...
Read more >PyMesh Documentation
a mesh attribute where a normal vector is associated with each vertex. ... To remove vertices that is not part of any face...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same here. able to solve this by import creation myself
My bad, it’s not exactly the same error, it’s rather related to
trimesh.voxel.creation
, but it looks very similar.The call fails in the “working” (i.e. 2nd) case because the missing
rtree
dependency (as already reported by @alexge233), but we see that the first call fails becausetrimesh.voxel
has nocreation
attribute.