I am trying to understand how to calculate the angle between two curves on a rail so that I can avoid the overlap.
The process for the application is: 1) Two lines are set. Each line has a defined ‘width’. 2) A spline is created by selecting the first line endpoint, the intersection of the two lines, and the second lines endpoint. 3) A sweep1 command is applied on the spline using the two ‘width’ definitions.
In the image below, the given lines are E1 and E2, with the required ‘widths’ as C1 and C2. The top row shows the sweep will overlap.
In the bottom portion, C1 and C2 are moved further away from the intersection point. Then the sweep works. I can not change the angle between E1 and E2, and can not change the length of C1 and C2, but can change the distance from C1 and C2 from the intersection.
What is the formula to calculate the minimum distance each line can be from the intersection for the sweep to not have an overlapping portion? The goal is to have them equal distance from the intersection (meaning I can naturally move C1 by itself away from the intersection, but then it would be at a different distance than C2 to the intersection). The angle between E1 and E2 can change as well as the ‘widths’, so that is why I am looking for a formula.