Hi,
I have a beam of length l and would like to create a number n of holes.
Let the distance d between the holes be defined as follows:
d = l / (n + 1)
The holes should be positioned at
1 * d, 2 * d, ..., n * d
The whole thing should be parametric:
l for a variable length of the beam
n for a variable number of holes
s for a variable diameter defining the holes
Any idea how to model something like this?
How about a two dimensional grid of holes?
I tried all kinds of different strategies - the best until now failed when trying to scale the length of the beam...
Thanks for your help,
Dietrich
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
That sounds like a basic parametric array. Try the attached file.
I am impressed - and humbled ![]()
I tried to hit the "Kudos" button 10 times - unfortunately it refused to work more than once - and I couldn't create a parametric Kudos array either
Of course, one way would be to create 9 other forum accounts - or search for 9 other postings written by ToanDN, anyway...
Now I only have to understand how you have been able to achieve this...
...could I ask you to describe the procedure?
I suppose what you did is:
- building the beam
- adding two reference planes to control the position of the first two holes and controlling them with the parameter d = l / (n + 1)
- creating the first hole by extrusion
- making an array by using the first hole and the position of the second hole
- parametrizing the number n of the array
...but when I tried to do so the array would always break when trying to resize the length of the beam: for some reasons the holes would just remain where they are. When trying the same with the single hole before making the array it would move - but after creating the array it would not anymore...
I searched for a way to lock the first and second hole of the array to the reference planes - but couldn't find a way to do so.
Any idea what I have been missing?
Thank you very much, ToanDN, for your help!
Regards,
Dietrich
@Anonymous
You are getting very close. Please see the screencast for steps.
p/s: I did not associate the diameters of the nested void family with the host family in the screencast, but I did it in the family posted earlier. That's so you can control the size of the hole directly in the host family.
Hi ToanDN,
Wow! You seem to really like helping people! Thank you very much!
The only thing which could be even better would be some dramatic background music in the video ![]()
Unfortunately I will have to leave now - and the next week here in Japan is the "golden week" - holiday! - and I will not be able to enter the office.
I have to wait for the 10th to try your solution! Something to look forward to over all these days - so I will be happy to go back to work after that long break
Isn't that wonderful?
Anyway, thank you very much again!!!
All the best, Dietrich
Hi Toan,
So I am back from golden week - and tried the process shown in your video:
It works perfectly ![]()
Thank you very much again for all the time and effort you put into your answer and the video!
All the best, Dietrich
PS:
Concerning the constraint between the depth of the hole and the thickness of the beam:
I had the impression that the only way to constraint them would be to use a type parameter for the depth in the hole family and to bind it explicitly to the thickness parameter of the beam.
In your video, however, you used an instance parameter for the depth of the hole without binding it to any parameter in the beam family.
Does this mean that it would be necessary to adapt the depth instance parameter manually to the thickness of the beam whenever the latter changes?
Or is there some mechanism in face based families which assures this in some automated way?
Thanks again, Dietrich
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.