Culling pattern

Hi guys,

I am working on some patterned skin. I made a pattern (lines) from parakeet plug in and I am trying to create thicker member with it (shown in blue). the process is to 1. project lines to curved surface in rhino 2. script here I have is the way I am thickening and culling out pieces. The problem is that I can only cull out larger pieces, and I am left with many pieces left still stuck within the frame (shown in red). When pieces are Does anyone have good idea to cull these pieces? It seems if I try per value (large, small) it would not work. Any inputs are appreciatedview1

Mana



exhaust tower geometry with curved only.gh (131.8 KB)
geo.3dm (2.1 MB)