Hi everyone! I'm an Italian student and I need some help with blender source code.
I don't understand how to get some attributes of data structures, in particular I need to print Mesh (and the associated EditBMesh) vertex coordinates and normals.
Are them organized in array, list or in other way?
This are my information:
int j = 0;
Object *obedit;
Mesh *me;
obedit = CTX_data_edit_object(C);
me = obedit->data;
for (j=0; j<totvert; j++){
printf(“%f %f %f”, ???, ???, ???);
}
how can I print vertex of the mesh pointed by me?
Thanks and sorry for my English!
The various data structures are defined in the header (.h) files.
To browse the source code, it is helpful to have a tool like cscope or Source Navigator.