3DLIRIOUS / MeshLabXML

Create and run MeshLab XML scripts with Python
GNU Lesser General Public License v2.1
202 stars 43 forks source link

rotate mesh to fit plane #16

Closed danivelikova closed 5 years ago

danivelikova commented 5 years ago

Hi, I want to rotate a mesh so that it fits to the XY plane. In Meshlab I do this like:

image

How can I do it using MeshLabXML?

Thanks

3DLIRIOUS commented 5 years ago

I just added the transform.rotate_to_plane function, but haven't tested it yet. Please feel free to try it out and report back.