How to limit Voronoi generation to a planar/trimmed surface?

I want to generate voronoi ONLY on the white surface. However, it ends up being like this:

The voronoi is also generating on the hollow/trimmed areas where it should not.

Here’s a simple demo.


RegionDiff_Demo.gh (12.4 KB)

Wow thanks a lot! I am a beginner and this really helped! Thank you!