Pull curve to mesh - artefacts

@scottd
hopefully the following 2 examples show more precisely what i am after.
The project I am working on is some medtech-data, the issue is about preparing mesh data further construction / geometry can relate to.

the samples are simplified but show the issues i see with smaller deviations / scales:

continous curve cuts zick-zack

input data / setup: a “smooth” curves cuts a “smooth mesh”
(_splitMeshWithCurve)


after splitting and triangulation i get those ugly steps in the edge of the new mesh:

the result i would expect should be similar to this.
still missing a tolerance and minimum edge length setting
still missing to handle some special cases

cut out a 4-sided patch

same effect here



thanks for having a look at it.

SplitMeshWithCurve_bug.3dm (3.7 MB)

kind regards - tom