Trim Intersecting Lofts

Hey Everyone, so i am trying to automate creating a surface for site excavation. Im pretty close to finishing it but i cant figure out how to trim the final lofts. Ive tried Spliting and triming the geometry with no luck. Heres what i have… Thanks for any help in advance :slight_smile:

for a sample file you just need foundations and a slab

IS THIS EVEN POSSIBLE ?
DYN:
Footer Excavation (FE).dyn (211.4 KB)

CRAZY INTERSECTING LOFTS (TOP):

CRAZY INTERSECTING LOFTS (BOTTOM):

CLEANED SURFACE LINES: (THE IDEAL TOP OF LOFT):

THE MESS:

FOUND THE SOLUTION… Just loft as solid and then do solid by union. Then explode the geometry and filter out the top surface.