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.
EvEdgeTangentLine "parameter" parameter
Lee_Hesketh
Member, Developers Posts: 148 ✭✭
Hi all. Since the EvEdgeTangentLine function has a parameter that can be a value between 0 and 1, which corresponds to a point along the line. I was wondering if I set the parameter to 0, how does FS decide which endpoint that is? I'm assuming it's to do with the direction but I'm not sure.
I'm asking this because I have a line and I want to get a vector using the endpoints such that the direction is going in a positive one e.g. in the direction of the positive xaxis
I'm asking this because I have a line and I want to get a vector using the endpoints such that the direction is going in a positive one e.g. in the direction of the positive xaxis
There are 10 types of people in the world. Those who know binary, those who don't and those who didn't expect base 3!
0
Best Answer

konstantin_shiriazdanov Member Posts: 1,018 ✭✭✭✭✭the best would be to evaluate chord vector for some random vertex order and reverce it if vector dot product between the vector of x axis is negative (or the same condition  negative x component of the chord vector)
5
Answers