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.
How do I orient an ellipse (skEllipse)?
I'm generating an ellipse on a plane with skEllipse and I'd like to be able to rotate it in plane with respect to the coordinate system of the sketch plane. One way to do this would be specify the angle of the major axis wrt the X axis of the coordinate system, but there's no angle parameter in the skEllipse definition. So, I figured when I specify the "majorRadius" field perhaps I could pass a 2D vector rotated by the angle I want (with the minorRadius rotated by the same angle.) But, I get the following error:
Precondition of skEllipse failed (value.minorRadius is undefined || is...)
onshape/std/units.fs (val is ValueWithUnits)