Skip to content

Apply Transform ( Translate + Rotate + Scale ) to mesh #4655

Answered by Grantim
atazangene asked this question in Q&A
Discussion options

You must be logged in to vote

We also have

from meshlib import mrmeshpy as mm
mat4 = mm.Matrix4f()
xf = mm.AffineXf3f(mat4)
# Or in older Python bindings:
# xf = mat4._convert_to_AffineXf3_float()
...
mesh.transform( xf )

Replies: 1 comment 1 reply

Comment options

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

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