Open Andreas-Moegelmose opened 5 years ago
Hi, I've been playing with this library and the issues here depend on the manifold constraints that are enforced by default.
You can have a look at resolving this by using a DMesh3Builder instance instead, see: https://github.com/CBenghi/geometry3SharpDemos/commit/1df3ddb89659051e1a4f27b465bf919253c869af
The resulting mesh looks like the following:
Best, Claudio
For a unit test, I'm trying to make a simple cross shaped mesh. It consists of 8 triangles. However, even though I define all of them in my list of triangles for DMesh3Builder, two of them disappear.
Here are a couple of pictures of the resulting shape, with the two triangles clearly missing: https://imgur.com/a/m8UzUwT
I'm running this code:
When I save the stl-file and inspect that, the two triangles are missing. However, if I move those particular triangles up higher in the triangles-list, they show, and two others.
Am I doing something wrong, or is there a bug in DMesh3Builder?
Thanks!