[Maya][Python]Boolean Intersection and Object selection



Hey guys, its been a while but i’m a bit stumped on what would be a good solution for my issue.
From the example below, I’m trying to extract faces from intersecting geometry while maintaining the integrity of the full mesh. At first I was attempting to use Boolean’s to script out the solution but its not a good solution. Next I was try to use a bounding box method, however i’m not sure how to use geometry as a selection parameter. I was wondering if anyone knew any good solutions to this.


Ah easy solution!
Coverted the face of the mesh to curves
then used project curve and separate mesh with projected curve.