Creating a grate that is adjustable with parameter

Creating a grate that is adjustable with parameter

Anonymous
Not applicable
1,460 Views
9 Replies
Message 1 of 10

Creating a grate that is adjustable with parameter

Anonymous
Not applicable

Hi i am trying to make a grate that adjusts the number of slots depending on the length of that grate but the size of the slots and the distance between the slots dose not change. I have managed to make it so that when the length is changed the number of slots change (using a array) and that the width of the slots remains constant but i cannot make it so that the distance between the slots remains constant. I also need it so that the end slots are only half a slot (see pic attached)

0 Likes
Accepted solutions (2)
1,461 Views
9 Replies
Replies (9)
Message 2 of 10

ToanDN
Consultant
Consultant
Zip your family and upload.
0 Likes
Message 3 of 10

Anonymous
Not applicable

Slots are called perfreation

0 Likes
Message 4 of 10

ToanDN
Consultant
Consultant
Is the Length of the grate always n*dim between 2 lots, i.e. 125, 250, 500, 750, etc..?
0 Likes
Message 5 of 10

Anonymous
Not applicable

umm the length of the grate can be what ever length as long as the slots start with half slot and then fill in the rest with normal slots then when it reaches the other end of the grate it ends with a half slot. If that's what u where asking

0 Likes
Message 6 of 10

ToanDN
Consultant
Consultant

See the attached family. 

Annotation 2019-11-20 133538.png

0 Likes
Message 7 of 10

Anonymous
Not applicable

i cant open it because im using a 2017 version of revit. Would you be able to send some screenshots of how you set the parameters and labels dimensions etc ?

0 Likes
Message 8 of 10

ToanDN
Consultant
Consultant
Accepted solution

I have fixed the family so that it works with off-module Length.  See screenshot.  I don't have 2017 so I can't create the family in that version.  I suggest you download 2019 to open the file.

 

To sum up:

- slot is a face base void

- distance between slots is a fixed dimension

- array quantity based on the length / slot distance

- another void is add at the end to take care of off-module conditions

 

Annotation 2019-11-20 140526.png

 

Message 9 of 10

Anonymous
Not applicable

Close but but when the user cuts down the grate the last distance between perforations can be inconsistent.

How can I get it so that it will cut the grate and if there is room for a perforation it will enter as much of the perforation as possible? I got very close with this one but on 250mm the edge of the grate seemed to clash with the perforation line and couldn't cut outside of the family.

0 Likes
Message 10 of 10

ToanDN
Consultant
Consultant
Accepted solution

Edit: I see the problem now.  It's when the edge of the hole coincide the edge of the solid.  That is because of the round profile of the hole, it works of the hole is rectangle.

 

 

 

That is why I added a separate void a the end because where the Array doesn't cut for certain lengths. 

 

Annotation 2019-11-20 175855.pngAnnotation 2019-11-20 175827.png