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.
Updating model geometries from external website
james_wetzel
OS Professional Posts: 4 PRO
Hi everyone!
I was wondering if this is possible / are there any examples or recipes for anyone trying to do the following:
Let's say I have a model whose dimensions are parameterized by a few defined variables.
Let's say folks will want to easily change these dimensions - say by using a web app.
Optionally, maybe they would like feedback of what this updated model looks like, and a viewer is available to them.
So works like this:
- Model is created in OnShape with dimensions tied to variables.
- 3rd party user logs into a website, and enters in their dimensions to the website.
- These dimensions get passed into the OnShape model, optionally creating a copy of the model with the updated geometry.
- Optionally, the 3rd party user is able to visualize the updated model.
Thank you!
James
I was wondering if this is possible / are there any examples or recipes for anyone trying to do the following:
Let's say I have a model whose dimensions are parameterized by a few defined variables.
Let's say folks will want to easily change these dimensions - say by using a web app.
Optionally, maybe they would like feedback of what this updated model looks like, and a viewer is available to them.
So works like this:
- Model is created in OnShape with dimensions tied to variables.
- 3rd party user logs into a website, and enters in their dimensions to the website.
- These dimensions get passed into the OnShape model, optionally creating a copy of the model with the updated geometry.
- Optionally, the 3rd party user is able to visualize the updated model.
Thank you!
James
Tagged:
0
Answers
see his example site: https://rustyshed.com/
Or
https://helioztechnologies.com/onshape
There of multiple companies looking to help Onshape customers. they can help build the logic and or rules that would be sent to Onshape. In the App Store are a few examples under configurations. each of these companies offer different variations on this.
Happy to help guide you.
Joe
I think you may get farther with configurations than just with part studio variables:
https://cad.onshape.com/help/Content/configurations.htm
As far as the web app goes, what'll end up happening is that you'll make an API call to our servers to ask for the geometry data of your part studio, specifying a specific configuration you are interested in. You can then display this graphically to the user using your own web application.
API information can be found at:
https://dev-portal.onshape.com/