It works when I apply it to vertical surfaces, but when I apply it to surfaces of different shapes, I can’t get it to take the shape of the surface; it still settles inside as a rectangle. How can I solve this problem?
airspa_voronoi.gh (15.9 KB)
It works when I apply it to vertical surfaces, but when I apply it to surfaces of different shapes, I can’t get it to take the shape of the surface; it still settles inside as a rectangle. How can I solve this problem?
airspa_voronoi.gh (15.9 KB)
I guess the surfaces on which you apply this script should be planar, because the script itself uses many components that do not work on something which is not planar
please post an example of surface of your choice where the script is not working fine
airspa_voronoi a.gh (23.5 KB)
Hi, I guess the core issue is that both the Populate 2D and the Voronoi component are explicitly using rectangles as their boundary and automatically convert the curves you’re providing:
So there are two issues to fix:
Distributing points on your surface
You can use Populate Geometry instead of Populate 2D.
Voronoi Cells
Here I just removed the boundary input from the component and trimmed the cells after the fact by intersecting them with the outline curve of the facade.
That results in this:
airspa_voronoi_modified.gh (20.7 KB)
thank you too much. I appreciate to you ![]()