We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb941a6 commit f29fc3aCopy full SHA for f29fc3a
gemgis/vector.py
@@ -8785,7 +8785,7 @@ def create_polygons_from_faces(
8785
raise TypeError("Return_gdf argument must be of type bool")
8786
8787
# Reshaping the faces array and selecting index values
8788
- faces_indices = mesh.faces.reshape(mesh.n_faces, 4)[:, 1:]
+ faces_indices = mesh.faces.reshape(mesh.n_faces_strict, 4)[:, 1:]
8789
8790
# Getting the coordinate triplets of each face based on the face indices
8791
list_coords = mesh.points[faces_indices]
0 commit comments