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.
Geometric Variants/Derivatives using Onshapepy API
fluvio_lobo_fenoglietto
Member Posts: 36 PRO
in General
Hello,
A few weeks ago I posted a few questions regarding the usage of onshapepy. Apparently some changes had been made and now the API is/will-soon-be deprecated.
I was still able to get my program working and now I am ready to share. I am hoping to find interest and perhaps some feedback!
I will continue to develop the program and update the GitHub repo.
My hope is that someone can help/guide upgrading the program to the latest clients version of the API, which may have already been released.
Anyways, here is some info. and links...
GEOVAR (Geometric Variations)
The purpose of the program is simple.
IF you have an Onshape part constrained by X number of configuration variables
AND you would like to generate every possible combination of Y values per X variables
geovar will generate all of these combinations and export them as .STLs
ADDITIONALLY, geovar can mesh all of those combinations using TetGen (which the user may have to build in their computer)
ULTIMATELY, geovar will be able to replicate an FEA simulation across all variations (will be implementing this in the coming months)
The link to geovar GitHub Repo
The link to the wiki (sloooowly documenting)
To get started, I recommend using this basic Onshape document that I put together
NEXT Steps:
A few weeks ago I posted a few questions regarding the usage of onshapepy. Apparently some changes had been made and now the API is/will-soon-be deprecated.
I was still able to get my program working and now I am ready to share. I am hoping to find interest and perhaps some feedback!
I will continue to develop the program and update the GitHub repo.
My hope is that someone can help/guide upgrading the program to the latest clients version of the API, which may have already been released.
Anyways, here is some info. and links...
GEOVAR (Geometric Variations)
The purpose of the program is simple.
IF you have an Onshape part constrained by X number of configuration variables
AND you would like to generate every possible combination of Y values per X variables
geovar will generate all of these combinations and export them as .STLs
ADDITIONALLY, geovar can mesh all of those combinations using TetGen (which the user may have to build in their computer)
ULTIMATELY, geovar will be able to replicate an FEA simulation across all variations (will be implementing this in the coming months)
The link to geovar GitHub Repo
The link to the wiki (sloooowly documenting)
To get started, I recommend using this basic Onshape document that I put together
NEXT Steps:
- Get the simulation piece implemented
- Upgrade to Onshape Clients?
- Add an efficient visualization tool (looking for advice from good pythonistas... or maybe something we can do with Onshape?)
Tagged:
3
Comments
Thank you!
I wanted to get back to you guys since you helped me last month.
I will stay with onshapepy to finish the entire program.
Migrating to clients will only affect my _onshape python module, so any transition should be pretty clean.