Changing density/thickness of voronoi struts


I am trying to vary the density/thickness of the voronoi struts in my 3D model at certain distance. I have attached the file which is 40x40x20 voronoi model. I would like to change the density at every 10mm in length. Right now I was changing the thickness.
Also, please let me know if I am doing it correctly.
I inserted a point cloud to create the voronoi model.Try wit different (19.8 KB) New UEP.txt (4.5 KB)