Fillet not working on non-planar curves

I have generated a louver system and it is refusing to fillet all of the corners as it is not entirely planar. I am unsure how to go about fixing this issue. In the picture shown you can see the green corner is filleting fine but not the blue.

Is there a quick fix to this, or does the script need to be rewritten? If someone could also elaborate on why the curve is not planar, I would appreciate it..

Thanks a ton.

attractor curve louver.gh (37.1 KB)

attractor curve louvers.3dm (64.4 KB)

1 Like