Trim issue

so i tried to trim the brep but its giving me a hard time. any solution will be appreciated


Trim Problem.gh (235.2 KB)

Try to use the Split Brep. Pay attention to the contours of both breps. In the lower part the cutting geometry doesn’t pass completly through the other brep:


If you make everything right you should be able to solve the issue:

Here’s a screenshot of the script:

The component is under Intersect → Shape → Split Brep:

Trim Problem.gh (246.0 KB)