Skip to content
Discussion options

You must be logged in to vote

Hello again,

I took time to look into the source code, and I think I found the answer in source/lang/ON_GEOM/ob_to_geom.py :
BFDS does not remesh the solid GEOM in any way. It writes a .bingeom with the vertices, edges and faces you can see while clicking on show geometry. If you have any quadrilaterals or other types of faces, it simply triangulates them.

To display the number of vertices and faces you can see while clicking on "Show Code", the code uses len(fds_verts) and len(fds_faces), but :

  • fds_verts is a flat list of the coordinates of each vertex, meaning its length is 3 x nb_verts
  • fds_faces is a flat list of vertices index, where each face is define by 3 vertices, meaning that it…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ESett5555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant