Elastic-Boundary-Projection icon indicating copy to clipboard operation
Elastic-Boundary-Projection copied to clipboard

’VoxelGrid‘ Object has no attribute 'matrix_solid' problem

Open artzjj opened this issue 5 years ago • 5 comments

Hello, I met a problem when I was testing: image it turned out to be that the voxel_mesh (an 'VoxelGrid' class) object does not have the attribute 'matrix_solid'. To figure it out I also looked up the documentation of trimesh in https://trimsh.org/trimesh.voxel.html?highlight=voxelgrid and I could not find the 'matrix_solid' term. So where does this 'matrix_solid' come from?

artzjj avatar Jul 26 '19 06:07 artzjj

Sorry, that should be the attribute matrix now.

twni2016 avatar Aug 01 '19 16:08 twni2016

image I have substituted all "matrix_solid" in test_util.py with "matrix". Is that what you mean? But it turns out that problem still remains.

artzjj avatar Aug 03 '19 13:08 artzjj

I found that trimesh has replaced VoxelMesh with VoxelGrid since 3.0.0 https://github.com/mikedh/trimesh/pull/467 The code worked in earlier versions.

twni2016 avatar Aug 06 '19 07:08 twni2016

I have substituted all "matrix_solid" in test_util.py with "matrix". Is that what you mean? But it turns out that problem still remains.

Hello,did you sovel it ?

guolihong avatar Oct 11 '19 02:10 guolihong

I have substituted all "matrix_solid" in test_util.py with "matrix". Is that what you mean? But it turns out that problem still remains.

Hello,did you sovel it ?

Install trimesh before version 3.0, for example pip install trimesh==2.31.26

LOL88 avatar Sep 14 '21 01:09 LOL88