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.
Formula for getting vector
papawo
Member, Developers Posts: 206 PRO
0
Best Answers

konstantin_shiriazdanov Member Posts: 1,039 ✭✭✭✭✭dot(p2p1, vector(0,1)) * vector(0,1)  this part of equation creates a projection of diagonal vector from p1 to p2 onto vertical axis (defined by vector(0,1)). then you go along this projection vector from point p1 and then go along horizontal axis for 1 inch. when I say "go" i mean that we should add corresponding vector to the total summ
6 
Jake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,599dot is the dot product of the two vectors.
Nice pictoral explanation:
https://www.mathsisfun.com/algebra/vectorsdotproduct.html
Needlessly complicated wikipedia entry:
https://en.wikipedia.org/wiki/Dot_product
Jake Rosenfeld  Modeling Team5
Answers
EDITED  sorry missed pt1[0]
....
can you explain pls?
Nice pictoral explanation:
https://www.mathsisfun.com/algebra/vectorsdotproduct.html
Needlessly complicated wikipedia entry:
https://en.wikipedia.org/wiki/Dot_product