Intersection of holes in perforated surface

I have such problem, maybe someone can help me.
I want to add a perforation to a complex surface. The perforation should be diagrid. The radius of the holes should be 2 mm.
but during the scripting, I found out that in some regions of the surface i have an intersection of my perforation

. Are there some options to change radius of perforation in an intersection areas?


you could check each point to the closest point in the point cloud and use that to determine the diameter of the circle?

not sure, that understand you well.
Can you show me example, please?

The following example is a 2d version where I check with pointcloud, but it is possible to use in 3d as well. The only exception is if the surface folds over on itself.