Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

How do I create a plane that is perpendicular to a surface?

Kira_LeeKira_Lee Member, Developers Posts: 17 PRO
I am trying to make a revolved cut feature that I can drop onto a cylinder face (the cylinder should be able to be anywhere in space) but the sketch plane has to be perpendicular to the face chosen.
I've used the code below where realPlane is the plane chosen by the user.
var sketchPlane1 = plane(vector(0, 0, 0) * inch, realPlane.origin);
but if my realPlane.origin happens to also be the world coordinate of 0, 0, 0 in space, this doesn't work.

For this feature, the length of the cylinder isn't fixed nor is it known in the feature - the only input/parameter is the face that's chosen.

Thanks in advance!

Best Answer

Answers

Sign In or Register to comment.