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.
How can I make a scalable model?
peter_m091
Member Posts: 8 ✭
I'm designing a part to hold X amount of batteries. I want to be able to generate this in a way that allows me to change a variable and automatically adjust the model's capacity. However, I have no idea how to do that, since changes in a pattern would break all connections linked to instances. Any thoughts?
(e.g. sketch a square -> 4x linear pattern -> add a border around the whole array. then change it to 3x/ 5x - you'll see the border relationship breaks, and it doesn't update)
(e.g. sketch a square -> 4x linear pattern -> add a border around the whole array. then change it to 3x/ 5x - you'll see the border relationship breaks, and it doesn't update)
0
Answers
You can do it as a feature inputs, but you'll go crazy, I'd learn featurescript and work the magic there.
What kind of batteries and what sort of arrangement? What kinds of features are patterned in the holder?
Do you have a public model or some sketches of your concept or some images of some off the shelf versions of what you are trying to do?
(BTW, why are you not just using an off the shelf solution?)
Have a look.
https://learn.onshape.com/learning-paths/onshape-configurations
what I want is to be able to change the #batteries and for the model to update (right now, it just breaks everything since, as you pointed out, the variable is connected to a sketch)
Many thanks for looking into this with me!!
https://cad.onshape.com/documents/35cb66c040fa8e8779deea7f/w/b20e867a5f0dfe72936e40c6/e/6bf7b6baf14b092d2c4695b0