Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edge_number() return 0 & edge_matrix() return empty #284

Closed
CrescentRosexx opened this issue Mar 15, 2023 · 2 comments
Closed

edge_number() return 0 & edge_matrix() return empty #284

CrescentRosexx opened this issue Mar 15, 2023 · 2 comments

Comments

@CrescentRosexx
Copy link

I read a 'obj' file, and the face_matrix() and vertex_matrix() return correct data, but when I using edge_number() I got 0, edge_matrix() also returns an empty list.
It seems that the two functions have not been implemented?

@alemuntoni
Copy link
Member

As already mentioned here, the Edge Matrix in VCGLib, MeshLab and PyMeshLab is not related and has nothing to do with the the mesh faces.
Edges are other elements that could be computed using some filters, or added manually. This aspect will be better specified in the documentation for the next version of pymeshlab.

If you need a list of the edges composing the faces of the mesh, you'll have to generate it by yourself starting from the face_matrix().

@alemuntoni alemuntoni pinned this issue Apr 13, 2023
@CrescentRosexx
Copy link
Author

As already mentioned here, the Edge Matrix in VCGLib, MeshLab and PyMeshLab is not related and has nothing to do with the the mesh faces. Edges are other elements that could be computed using some filters, or added manually. This aspect will be better specified in the documentation for the next version of pymeshlab.

If you need a list of the edges composing the faces of the mesh, you'll have to generate it by yourself starting from the face_matrix().

I got it, thank you for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants