Applying compute_matrix_by_fitting_to_plane filter on a meshset results in PyMeshLabException #260
Unanswered
sizekick-manu
asked this question in
Q&A
Replies: 1 comment
-
You need to select the mesh
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to apply a filter compute_matrix_by_fitting_to_plane on a MeshSet object as follows:
ms.compute_matrix_by_fitting_to_plane(targetplane=int(0), rotaxis=int(0), toorigin=True, freeze=True, alllayers=False).
But I keep getting the error :
PyMeshLabException: Failed to apply filter: compute_matrix_by_fitting_to_plane
Details: Cannot compute rotation: there is no selection
Why do I get this error ? I am able to apply other filters such as compute_matrix_by_fitting_to_plane, compute_matrix_by_principal_axis etc.
My main objective is to align a body mesh to the X-axis.
Beta Was this translation helpful? Give feedback.
All reactions