marian42 / mesh_to_sdf

Calculate signed distance fields for arbitrary meshes
https://pypi.org/project/mesh-to-sdf/
MIT License
991 stars 107 forks source link

AttributeError: object has no attribute 'as_dcm' #21

Closed pbsds closed 3 years ago

pbsds commented 3 years ago

As of scipy 1.4.0, Rotation.as_dcm() have been renamed to as_matrix. Scipy version 1.6.0 has now removed the deprecated as_dcm.

Possible resolutions:

Should i make a PR of the first one?

pbsds commented 3 years ago

Alternatively we could use trimesh.transformations.rotation_matrix or trimesh.transformations.euler_matrix omitting the scipy dependency entirely