Attractor point vs branching to determine a lighter wing structure

hi, apologies if my terminology and vocabulary lack to define this succinctly. I want to create light weight solution by removing mass. I have a closed curve representing a wing rib (not for an aircraft btw). The usual approach is to have a small quantity of large holes, however this will only induce stress/weak points in my foam structure. Rather, I want to use hundreds of small holes gradually getting larger toward the “theoretical offset centre point” which will be quite different from the area centroid.
In my mind its either an attractor point script with circles scaled to different values or a branching script whereby each intersection would act as centre point for circles of differing sizes to be created.
But I am not sure if these are the only solutions… that’s why I am reaching out.