In this article I will show You how to make simple parametric model with component pattern. Our example will be simple case for batteries, with some splines.
BTW. I really hate patterns and always Im trying to avoid them. 😉 However sometimes they are really helpfull.
We will be able to change that:
In few seconds. Really. Lets start:
Time for some comment: We need to define our contour by setting dimensions. We want to have automatic, parametric and easy to edit model, and our input value in this model is number of battery, which is made by patter. So this dimension must refer to pattern. But how?
All of these three dimensions should be driven by values from component patterns. Lets do it.
If You need to refresh some knowledge about constraints, You can do it here:
http://www.kiss3d.net/?p=1348&lang=en . And If You have some problems with splines, take a look here:
http://www.kiss3d.net/?p=1595&lang=en . 😉
For me it is no problem, but what if we want to have fully automatic model, not half? There is solution for that.
Lets stop for some comment. As I told You on the beginning I always trying to avoid component patterns – they limit control on individual items, especially in some more sophisticated models. I recommend some caution when using patterns. From the other hand of view – in such simple models like we have here – pattern is just perfect.
Second thing: I really recommend using patterns, copies, mirrors etc. in sketches, not for features or bodies. Using them for features slows down performance of model a lot. As always – small model, means small problems. But if we will have a big model mades of 50, 100, 1000 or more bodies every operation on bodies or features such as pattern etc. can make your work just impossible, because of lack of performance. Choose the best way for You, but be aware about consequences. 😉
Good luck 🙂