[pic 1]
I’m trying to construct a brep of the top face of a curved surface (pic 2) instead of a flat plane as shown in pic 1.
[pic 2]
The primary issue is that the curved surface has multiple varying z values hence making it not so straightforward to extract the centroids of those voronoi cells. Please could someone suggest any ideas to work around this. Thanks in advance
You will notice that in the gh definition I’ve input the highest z value that yields me a single voronoi cell on the curved surface (instead of a list of cell points that lie on the thin curved surface).
CurvedVoronoi.gh (172.2 KB)
do I need Karamba to get veronoicells?
no
what do you want to get? curves on your surface? like in picture one?
please isolate and explane your geometric problem.
I want to isolate the points that are the centroids of the voronoi cells lying on the curved surface to output something like pic 5.
[pic 3]
[pic 4]
[pic 5]
Side Note:
The points in pic 5 were generated using the “brep closest point” component which simply drags all points in the shape to the curved surface brep. Hence I thought to filter the points by a “very small distance to the curved surface brep” process; however, after dispatching the list of results I get an expected true/false output which after plugging back into the “overall shape geometry list” I unexpectedly get no results.
Problem components (red group) .gh file not needing karamba:-
CurvedVoronoi.gh (46.6 KB)