How can I programmatically create a plane at an arbitrary orientation using the Onshape REST API?
mskeels
Member Posts: 6 ✭
Hi everyone:
I’m working with the Onshape REST API to programmatically generate sketches and extrudes. I’ve successfully used the API to:
- Create sketches on standard planes (e.g.,
"Front") - Define circles, rectangles, and line segments
- Extrude sketches into 3D geometry
Now I want to define a new reference plane — for example, a plane normal to a line, located at a specific end-point. I need this plane so I can define a sketch on it and extrude it.
Another option would be to extrude a sketch (circle or square) along a line-segment.
I can't seem to find documentation on how I would go about this outside of the examples (for a circle and extrude) in the API docs.
0
Comments
-
What are you trying to achieve? Its possible to do what you are looking for, but depending on what your end goal is, there might be a better way.
www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
Experts in Onshape Automation - Custom Features and Integrated Applications0
Categories
- All Categories
- 10.2K Community Support
- 4.6K General
- 194 Account and subscriptions
- 353 Data management
- 1.6K Product Feedback
- 215 New in Onshape
- 14 Onshape Labs
- 75 CAM Studio
- 35 PCB Studio
- 107 Simulation
- 209 Onshape Mobile
- 315 App Store & Partners Apps
- 8.2K Using Onshape
- 1.8K Drawings
- 2.3K FeatureScript
- 324 Learning Center
- 253 Education Community
