hello
I have a sample commit from Rhino using 2 layers and 1 mesh per layer.
── layer 1
├── mesh 1
── layer 2
├── mesh 2
Each mesh has a mix of quads and triangle faces. In this particular example these are cubes with 6 faces that are composed of 4 triangles and 4 quads.
I am able to separate layers and iterate over meshes in each layer. At this stage obj
is a base mesh. (from specklepy/objects/geometry.py) I then use obj.vertices
to get vertices and obj.faces
to get indices.
I am looking for a way to extract whether the vertices and indices are coming from a quad or a triangle face. Is this information stored on the speckle mesh? if not would you have any pointers how to extract this information?
thank you,
-e