Trying to get rid of the seams on the solids after the boolean operation with 3d Voronoi cells and (kind of) torus.
The idea is to get curves from all the borders but the initial seam of the torus breaks the surface in the middle like this
So I take one cell, deconstruct it to faces and find normal vectors in their centers.
Then I compare the angle between all the normals in the cell with the mininum degree
And then cull those faces which have no pair in the bounds.
After all I get the nomber the lists with the faces where only 1 item if the face have no pair in the bounds and the 2 of them if their normals almost parallel.
Then I join them and grab the borders.
It’s easy when it is only one cell but if I apply this algorythm to all the cells the comparison of normals goes all over the faces and it ruins all the logic. How to split it?
It’s no problem to add a repeating operaion with anemone but maaaaybe there is another way of doing it? Who can help?
Here is the definition Nuke-o-Brain_by_Kristina.gh (1.1 MB)
thanks in advance