-
How can I access the transform matrix from a filter that rotates, translates or scales?
Filters similar to above return None rather that the matrix. |
Beta Was this translation helpful? Give feedback.
Answered by
danwbean
Jun 2, 2023
Replies: 1 comment 1 reply
-
I found it... It is an attribute of the Mesh object. The typo in 'trasform' rather than transform tripped me up
Docs: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
danwbean
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found it... It is an attribute of the Mesh object. The typo in 'trasform' rather than transform tripped me up
mesh.trasform_matrix()
Docs:
trasform_matrix(self: pmeshlab.Mesh) → numpy.ndarray[numpy.float64[4, 4]]
Returns the 4x4 trasform matrix associated to the mesh.