## Set end of line to meet another line without altering length

Moderator: andrew

### Set end of line to meet another line without altering length

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.
wildspidee
Full Member

Posts: 79
Joined: Sat Nov 03, 2012 2:00 am

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

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 (18.39 KiB) Viewed 2187 times

Clive
Moderator / Drawing Help

Posts: 1173
Joined: Thu Aug 25, 2011 9:28 pm
Location: UK

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

Brilliant! The circle never even occurred to me, but that makes perfect sense. It's easily automated, too.

Thank you so much Clive.
wildspidee
Full Member

Posts: 79
Joined: Sat Nov 03, 2012 2:00 am