Create Flat Voronoi plane between 2 specimen with common vertex sharing

I want to create a flat surface between top and bottom box, where the vertex of Voronoi will be common between these 2 box. Please follow the below GH script and rhino file.
Thanks in advance for your help.

GHscript_Re2_Atik_Col+base_chk.gh (26.9 KB)
Untitled.3dm (84.9 KB)

In the current script the Voronoi of bottom box become diverged and common vertex also missing in several points.

could you please clarify what you are trying to achieve? maybe with a sketch?

Thanks for your kind response. Please check the figure below. please ask me if it is still unclear.

If I understand correctly, the voronoi cells should be identical in the overlap of the two faces of the parallelepipeds.


1 Like

Thanks for the solution. Yes, the overlap of Voronoi surfaces are required. Could you please share with me the GH script.

GHscript_Re2_Atik_Col+base_chk a.gh (33.7 KB)

1 Like

Thanks for sharing the script. Regarding the mesh number, the input value (now set to 500) is for each part? or it is for whole specimen? Please kindly response according to your free time. Thanks again.

The number of points is proportional to the volume of the two solids.

1 Like