R7. Why adding Crv node kills my code - only works with Closed Planar Crv

Hi All, am stuck on the following, my code only seems to run ok, when I don’t make use of Crv node, or when I as curve get a "Closed Planar Curve’ and not when the curve is a ‘Polyline Curve’ (although that curve is closed)

Any suggestions, as this is a simplified version of my code, and I need that Crv node as it is the resulting result after filtering Curves


hole puncher.gh (42.2 KB)

The result on the Right is intended result

it is a bug or a feature :wink: … not sure if this helps, but what if you set radius rectangle to 0.01, then it works. It won’t be a rectangle anymore though … and will now have 8 instead of 4 corner points.

Maybe someone from mcneel knows why this is happening?