Isotrim Surface (SubSrf) C# Overlapping Result


I am a newcomer user of C# grasshopper. I am trying to mimicking several native batteries from the grasshopper, especially to trim a surface with divided domains. As native way I can bring up result of trimmed surface easily but then when I try to iterate it with nested loops I found something different from the usual. The trimmed surface from the domains overlapping each other (see the picture bellow).

Can someone explain what happened and what should I do?

This is the result I usually get from native batteries

This what happened from my own script

Isotrim (16.1 KB)

Hi @Daniel_Jansen,
you might want to have a look here:

1 Like