From 8e798f2b577f58b4ea372fa3f67ba53d566ff2c8 Mon Sep 17 00:00:00 2001 From: gumyr Date: Mon, 7 Oct 2024 10:45:33 -0400 Subject: [PATCH] Relaxing is_parallel check of DoubleTangentArc to avoid false negatives Issue #728 --- src/build123d/objects_curve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build123d/objects_curve.py b/src/build123d/objects_curve.py index 40e0533..d5e2ad7 100644 --- a/src/build123d/objects_curve.py +++ b/src/build123d/objects_curve.py @@ -230,7 +230,7 @@ class DoubleTangentArc(BaseLineObject): continue other_axis = Axis(p1, other.tangent_at(p1)) circle_axis = Axis(p2, circle.tangent_at(p2)) - if other_axis.is_parallel(circle_axis): + if other_axis.is_parallel(circle_axis, 0.05): arc_centers.append(arc_center) if len(arc_centers) == 0: