Skip to content

How to access transform matrix? #308

Answered by danwbean
danwbean asked this question in General
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alemuntoni
Comment options

Answer selected by danwbean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants