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.
ACCESSING/CONTROLLING ONSHAPE FROM AN EXTERNAL PROGRAM (Python script for instance)
fluvio_lobo_fenoglietto
Member Posts: 36 PRO
Hello,
Is it possible to access Onshape through an external program, perhaps something written in python?
I am working on a FeatureScript that generates a solid from a .csv file with vertex data.
My goal would be to automate the whole process by having a python script;
1 - generate/update the .csv file (independent from Onshape)
2 - access Onshape
3 - execute custom FeatureScript
4 - export solid model (in a given format, .STL or .STEP for instance)
Thank you!
Is it possible to access Onshape through an external program, perhaps something written in python?
I am working on a FeatureScript that generates a solid from a .csv file with vertex data.
My goal would be to automate the whole process by having a python script;
1 - generate/update the .csv file (independent from Onshape)
2 - access Onshape
3 - execute custom FeatureScript
4 - export solid model (in a given format, .STL or .STEP for instance)
Thank you!
Tagged:
0
Comments
Sign in to our Developer portal at https://dev-portal.onshape.com - you'll be asked to agree to our API usage terms & agreement the first time.
In the Developer portal you'll find links to documentation on the API and API Keys, and links to sample code on github - https://github.com/onshape-public/apikey in particular has some python library code for making requests using an API Key.
Thank you!