Open petrasvestartas opened 3 years ago
This may just be a bug in the remesher - the logic around constraints is complicated. However here are two things you can try:
Remesher. AllowCollapseFixedVertsWithSameSetID = false. This is a property on MeshRefinerBase and defaults to true. You need to pass different SetIDs for each pinned vertex (currently you are not setting the set ID)
Remesher.VertexControlF - this is a lambda that will let you return dynamic constraints for specific vertex IDs, you could return NoMovement and I think this will prevent the connected edges from being collapsed.
I would like to remesh mesh with fixed points, but if I preserve boundary points, triangulation around edges are not split, whereas if I remove external constraints faces are split correctly and nicely, but none of fixed points are here.
How can I get a nice triangulation and keep fixed points intact?
This is the code I use: