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.
Is it possible to determine in which direction an angle is measured?
timo_schmid
Member Posts: 36 EDU
Hi everyone,
I want to measure multiple angles between vectors always to the same direction. i.e. I would also receive angles larger than 180 degree for some cases.
The only function I know is the angleBetween(), but it just always takes the smaller angle(<180 deg). Is there a way to always measure in the same direction (e.g. always clockwise in the XY-plane)?
Cheers,
Timo
I want to measure multiple angles between vectors always to the same direction. i.e. I would also receive angles larger than 180 degree for some cases.
The only function I know is the angleBetween(), but it just always takes the smaller angle(<180 deg). Is there a way to always measure in the same direction (e.g. always clockwise in the XY-plane)?
Cheers,
Timo
Tagged:
0
Best Answer
-
NeilCooke Moderator, Onshape Employees Posts: 5,674If they are always on the 3D XY plane, then it's simple - you can just use atan2 to measure the angle between each line and vector [1,0]. A minus value indicates obtuse. If they're in 3D space it would be a little more involved.Senior Director, Technical Services, EMEAI5
Answers
Thanks a lot Neil!