Create new mesh from the difference of another meshes

Hi.


I’ve created two meshes:

Node sphereNode1 = new Node(“sphere1”);
sphereNode1.Material = material1;
Mesh sphereMesh1 = PolygonModifier.Triangulate((new Sphere(5, 100, 100)).ToMesh());
sphereNode1.Transform.Translation = new Vector3(0, 0, 0);
sphereNode1.Entity = sphereMesh1;

Node boxNode1 = new Node(“box1”);
boxNode1.Material = material2;
Mesh boxMesh1 = PolygonModifier.Triangulate((new Box(“box1”, 30, 30, 30, 5, 5, 5)).ToMesh());
boxNode1.Transform.Translation = new Vector3(-15, 0, 0);
boxNode1.Entity = boxMesh1;

Is possible to create a new mesh from the difference of boxMesh1 and sphereMesh1?

Thanks in advance!

Hi Joan,


Thank you for contacting support. There is no way to get the difference of meshes because Aspose.3D API does not support complex boolean operations on meshes. However, it’s in our plans. We’ve logged a feature request under ticket ID THREEDNET-222 in our issue tracking system. Your post has also been linked to this ticket. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.

The issues you have found earlier (filed as THREEDNET-222) have been fixed in this update. This message was posted using Bugs notification tool by lex.chou