Trim 2 curves and join into 1

Hi,
Greetings!

I have 2 curves:


I need to trim and join like below
Output needed:


can someone help

Thank you
2_crvs.stp (4.1 KB)

CurveBoolean…

Edit: I see you tagged this with Python, there is also

rs.CurveBooleanUnion() (also Difference and Intersection)

plus some RhinoCommon methods if needed

1 Like