Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start: Looking for a certain topic? Check out the categories filter or use Search (upper right).
 Need support? Ask a question to our Community Support category.
 Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
 Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Finding a meeting point(x,y,z) of two lines?
frederik_larsen108
Member Posts: 9 EDU
I got two lines defined by the user, and i want to return the point where they meet...
var buttomLine = evLine(context, { "edge" : definition.buttomSide });
var leftLine = evLine(context, { "edge" : definition.leftSide });
i tried using their origin, but they dont have a cummon coordinate.
How can i find the meeting point of two lines?
i tried using their origin, but they dont have a cummon coordinate.
How can i find the meeting point of two lines?
Tagged:
0
Best Answer

konstantin_shiriazdanov Posts: 887 ✭✭✭✭✭look for documentation of DistanceResult
if result = evDistance(), then the point on first side can be obtained by result.sides[0].point
1
Answers
if result = evDistance(), then the point on first side can be obtained by result.sides[0].point