Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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_wetzeljames_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

Answers

  • john_mcclaryjohn_mcclary Member, Developers Posts: 2,059 PRO
    @billy2 has been working on this sort of thing

    see his example site: https://rustyshed.com/
  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,399 PRO
    Check out @billy2 website https://rustyshed.com/
    //rami
  • john_mcclaryjohn_mcclary Member, Developers Posts: 2,059 PRO
    jnix you owe me a beer
  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,399 PRO
    =)
    //rami
  • james_wetzeljames_wetzel OS Professional Posts: 4 PRO
    That's exactly what I'm after!  Now, does anyone have any idea how @billy2 got started on this project?  Are there any internal OnShape resources I could dive into?  Thanks everyone!
  • joe_dunnejoe_dunne Onshape Employees, Developers Posts: 149
    It really depends on what you have in mind. Bills example is great.

    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



    Joe Dunne / Onshape, Inc.
  • james_wetzeljames_wetzel OS Professional Posts: 4 PRO
    joe_dunne said:
    It really depends on what you have in mind. Bills example is great.

    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



    Yes, absolutely would love the guidance.  We would definitely want to go the route of @billy2 and set it up in-house.  I don't believe it would require too much development, but would like to get a head start with some resources if possible!
  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,398
    @james_wetzel

    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/
    Jake Rosenfeld - Modeling Team
Sign In or Register to comment.