Python Offset on Surface corner style

Hi, if anyone is reading,

i am trying to offset curve on surface in a loop here. however, the corners always look like this…how can i fix it so that the corner turn continuously?
question2

RTM_2.4.1_frontFace_1.0.gh (841.1 KB)

That’s a pretty horrible surface (16,641 control points) and a pretty horrible edge curve (1314 control points). So I don’t hold out much hope.

What is it that you’re trying to accomplish? If you need to slice, you might consider intersecting your surface with a plane.

– Dale