Jun-11-2022, 08:57 PM
(This post was last modified: Jun-11-2022, 08:57 PM by Gribouillis.)
There is a special case, when
You could implement test with Python instead of Autocad. It suffices to check that the intersection points are at distance r1 from the first center and at distance r2 from the second center.
r1 + d - r2 == 0
, it will fail to compute m, n
and raise an exception. Instead of that, it should return [k, k]
. This is the case when the first circle is inside the second disk and tangent to the second circle.You could implement test with Python instead of Autocad. It suffices to check that the intersection points are at distance r1 from the first center and at distance r2 from the second center.