Trimming Pannels at ground level - Donut Shape

Hi, I think the test Brep needs to be the original box, but not the trimmed torus.
The trimmed torus and the panels are nearly intersecting here and there, resulting in unwilling panels judged intersecting.

Phoenix.gh (19.1 KB)