Page 1 of 1

Set end of line to meet another line without altering length

Posted: Sat Nov 03, 2012 8:58 pm
by wildspidee
I need to set the end point of a line based on another line without altering the length, only the angle. Here's an example:

Line A Vertical - length 28, Start 27,56 End 27, 28
Line B - length 40 Start 57,22

I need the end point of B to rest on line A at any point on line A that preserves the length of line B. I've tried moving and snapping, but I lose either my start point or length in the process. I can probably figure out the angle with math, but I'd rather have an 'in program' solution that can eventually be programmed to draw automatically. The resulting angle of B is important for the rest of the drawing.

Any ideas or suggestions are appreciated! Thank you.

Re: Set end of line to meet another line without altering le

Posted: Sat Nov 03, 2012 9:41 pm
by Clive
In a situation like this based on angles - arcs and circles come in useful:
1.Draw a circle - radius 40.
2.Use centre point at coordinate 57,22.
3.From intersection draw line to the centre/line start (57,22).
4.The resulting line should be exactly 40 in length.
geometry method.png
geometry method.png (18.39 KiB) Viewed 5535 times

Re: Set end of line to meet another line without altering le

Posted: Sat Nov 03, 2012 9:48 pm
by wildspidee
Brilliant! The circle never even occurred to me, but that makes perfect sense. It's easily automated, too.

Thank you so much Clive.