mangel wrote: ↑Mon Sep 27, 2021 6:32 pm
When I use the tool: tangent to two entities, through a point, and the point belongs to one of the two entities, Qcad does not solve the problem.
Husky wrote: ↑Mon Sep 27, 2021 7:08 pm
Sorry, never heard about a tool called "Tangent to two entities".
Draw circle tangential to two entities, through a point (CT2).
Andrew, all my findings are in the attached dxf files ... Not limiting.
- With 2 lines and a point on one of the lines QCAD presents 2 correct solutions.
The indicated point is then the (forced) tangent point with that line.
Solutions reduce to one unique if the lines are parallel.
- With a circle, a line and a point on the line QCAD may present 4 solutions of which none is correct.
If the indicated point is exactly the center projected perpendicular on the line, a lucky shot or by an auxiliary line, ...
... then 2 correct solutions are presented.
With 4 solutions it is clearly visible that the indicated point is an intersection with the line and that all the solutions intersect twice.
For the correct solutions:
The tangent point of two circles is on a line through both centers. (Cyan)
And the center of a circle tangent to a line is on a line orthogonal in the tangent point. (Blue)
One can find these correct solutions by the intersection of 2 incorrect solutions.
- Analog with a line, a circle and a point on the circle.
- With two circles there will not be a solution for a point inside one of the circles.
The solution can't be and tangent to and crossing the circle at the same time.
For a point outside the circles 4 solutions may be presented. Not all 4 are correct in all cases.
For a point on one of the circles there are
no solutions presented.
These can be found by mirroring the other circle over the symmetry axis center - point and matching solutions of 3 tangents (CT3).
This knowledge is gathered in the past few months while I investigated how to round all corners of bulging polylines.
It boils down to what is considered tangent, what is the intersection of two circles, and how arc segments are prepended/appended to a polyline.
The tool is perfectly functional up to a point where the numbers don't add up anymore. They should mathematically.
Regards,
CVH