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.
Can someone help me with opPlane?`
Dylan_Stewart
Member, Developers Posts: 107 PRO
I am trying to just simply offset a plane from the "Front" plane a certain distance to place a sketch on inside of the code.
https://cad.onshape.com/documents/5f58f9dbb29fa769e39cafa1/w/011aa0a6c11a7d0d90dbdc77/e/6b550df6cc30fd5281c6ecd6
Here is a link of what I am trying to accomplish %100 with code.
The outside squares will be controlled with the same variables and all 3 will be controlled with a 'height' variable.
The middle box will control the distance of the outside boxes.
I'm just trying to get a better understanding on how opPlane works...
Thank you!!
https://cad.onshape.com/documents/5f58f9dbb29fa769e39cafa1/w/011aa0a6c11a7d0d90dbdc77/e/6b550df6cc30fd5281c6ecd6
Here is a link of what I am trying to accomplish %100 with code.
The outside squares will be controlled with the same variables and all 3 will be controlled with a 'height' variable.
The middle box will control the distance of the outside boxes.
I'm just trying to get a better understanding on how opPlane works...
Thank you!!
Digital Engineering
0
Best Answer
-
kevin_o_toole_1 Onshape Employees, Developers, HDM Posts: 565Generally the most maintainable way of making sketch geometry in specific place is to create a Plane in the right position and base everything off of that, creating sketches with newSketchOnPlane.
Here's a public example document doing what you want:
https://cad.onshape.com/documents/ef8c84dbdfc79365f476d7c3/w/7c9985115ed7f3ca732c0076/e/9bcaef4b1c4e68727b926ce6
5
Answers
Here's a public example document doing what you want:
https://cad.onshape.com/documents/ef8c84dbdfc79365f476d7c3/w/7c9985115ed7f3ca732c0076/e/9bcaef4b1c4e68727b926ce6