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.
.onshapepy. key file location (Win vs. linux)

in General
Hello,
Have there been any changes to the format and location of the .onshapepy. file for either Win or Linux.
I can execute my programs by adding the file to my C:\Users\<myusername>\.onshapepy.
But I do not seem to be able to place the file in the correct directory in Linux
So far I have tried:
Have there been any changes to the format and location of the .onshapepy. file for either Win or Linux.
I can execute my programs by adding the file to my C:\Users\<myusername>\.onshapepy.
But I do not seem to be able to place the file in the correct directory in Linux
So far I have tried:
- /home/
- /home/<username>/
- /usr/
0
Comments
Please note that onshapepy is deprecated now in favor of onshape-clients [here](https://github.com/onshape-public/onshape-clients). It is still in a somewhat experimental stage, but can already do substantially more than onshapepy. If you do want to keep using onshapepy, it pulls the config from ~/.onshapepy according to the code: https://github.com/ethan92429/onshapepy/blob/master/onshapepy/core/client.py#L54. So it is wherever pathlib.Path.home() resolves to I suggest running:
Then put the .onshapepy file there!
Thank you!
Will you guys get rid of onshapepy?
I may jut finish-up my code and then look into translating (depending on your plans).
Maybe could you give me some guidance for the translation.
Below is an example of my version of an get/update configuration routine (with my imports and object definitions):
I noticed, from a quick glance, that clients has simplified the syntax, so I may just need to translate the calls quickly.
Thank you!