Hi,
I have small issue with shading when I draw 4 point mesh face, where two points are on the same location.
What would be the way to either remove one point or unweld. Unweld command in rhino does the trick. but this one in rhinocommon does not help:
private void RunScript(Mesh x, object y, ref object A)
{
Mesh m = x.DuplicateMesh();
m.Vertices.CombineIdentical(false, false);
m.Unweld(0.00, true);
m.Vertices.CombineIdentical(false, false);
A = m;
}
shading.gh (5.7 KB)