Closed Sernior closed 2 months ago
@Sernior Do you have a build item for these mesh objects in your code ?
You need to have a
model->AddBuildItem(meshObject.get(), wrapper->GetIdentityTransform());
after you are done adding all the vertices and triangles of a given mesh. Give that a try and let me us know if it is still a problem
It works perfectly now thank you. My bad, I did not expect after model->AddMeshObject(), AddBuildItem to be required unless you want to apply a Transform. Thank you.
Hi, I am not sure if I am missing something or not but I have a problem with 3mf files generated starting from a vector<ON_Mesh*>.
Now these meshes are valid. If I draw them I can see them or if I write them with any other format, but when I generate the 3mf file with this code I cannot open it with 3D builder nor Rhino. Oddly enough this website https://imagetostl.com/ can still open and show me the meshes of the 'invalid' 3mf files. At this point I am not sure if I am missing something.