Curve intersection fail?

Why doesn’t this curve intersection work?

Could it be due to the angle tolerance? Is there any way to obtain the correct result?

CurveIntersection.gh (2.9 KB)

looks indeed like a Tolerance thing:

Seems to be unit tolerance rather than angle tolerance - I increased the tolerance to 4 decimal places and it calculated correctly - Options >Units >Absolute Tolerance

But it does seem a bit odd, because they’re 0.5 units off

Thanks @Artstep & @inno

Is there any way to avoid that issue without changing the drawing settings? I need to implement this method using Rhino.Compute.

Maybe using C#…

I think most intersection commands have a tolerance input anyway https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.intersect.intersection/curvecurve

But with a tolerance of 0.01, a deviation of 0.49 seems a bit too significant - the lower tolerance can lead to much slower calculation times depending on how much geometry you’re processing though

Hi @Alfredo_Peña,

This works.

–Dale

It doesn’t work for me either