Problems with Network Curves, Patching and Remeshing

Hi All,

I have a few problems with a simple project I’m working on.

Background - the idea of the project is to specify a BREP and apply a pattern.
The BREP could be flat, curved, open or closed - there’s not many constraints to the BPEP shape.

My pattern in this case, is a simple Voronoi pattern. I can generate the curves on the BREP surface OK, but then I create a patch from the closed curve, re-mesh the patch, then calculate and apply my displacements.

Network Curves-Patches-Normal Direction.gh (28.8 KB)

Problems:

  1. The normal direction is not consistent for the patch. I don’t mind, whether it’s up or down, but it needs to be consistent with all patches. Is there a way to align them easily or do I need to manually create aligned vectors (e.g. check both directions and choose the one that’s closest to some reference vector)?

  2. The patches don’t exactly match the original curves, there’s small variations from the source curves to the patches.

  3. There are gaps in the tri-remesh, despite adding reference ‘Features’ to guide the re-mesh.

Thanks in Advance.