Adding more holes as face length increases / remove holes as length of face decreases.

Adding more holes as face length increases / remove holes as length of face decreases.

talha_ozdemir
Advocate Advocate
1,341 Views
7 Replies
Message 1 of 8

Adding more holes as face length increases / remove holes as length of face decreases.

talha_ozdemir
Advocate
Advocate

Hello there. I wonder if I can add a rule in iLogic where it will add automatic holes per given length, also same way where it will remove. For example I have a profıle which is 2 meters and it has 6 holes there. I want it to add 3 more holes when I increase the lenght of profile 1 more meter.

0 Likes
Accepted solutions (2)
1,342 Views
7 Replies
Replies (7)
Message 2 of 8

basautomationservices
Advocate
Advocate

Hi there,

 

This is possible. Do you have an example part perhaps?

 

Maybe this could just be solved with a pattern and the pattern count that depends on the length?

 

 

Contact me for custom app development [email protected]. Follow below links to view my Inventor appstore apps.

Free apps: Smart Leader | Part Visibility Utility | Mate Origins

Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro


0 Likes
Message 3 of 8

talha_ozdemir
Advocate
Advocate

Hi,

Here is the example as ipt. I am not sure how to solve with pattern count honestly.

0 Likes
Message 4 of 8

basautomationservices
Advocate
Advocate

I think this is solved best using a pattern because the holes have equal spacing.

 

You can do this by creating a unitless parameter called count, and a distance parameter called spacing. Set the amount of holes to count, count being round(length / spacing). 

 

If you require a minimum start/end offset, calculate the effective length (-2*offset), and use that before dividing by spacing. You can also use a fitted pattern to specifiy the total distance and the amount of holes instead of the spacing

Contact me for custom app development [email protected]. Follow below links to view my Inventor appstore apps.

Free apps: Smart Leader | Part Visibility Utility | Mate Origins

Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro


Message 5 of 8

petr.meduna
Advocate
Advocate
Accepted solution

Hi, yes you can. You can use simple iLogic rule for counting holes or you can write an equation directly in the textbox of pattern window. I attached your file below for demo.

Message 6 of 8

talha_ozdemir
Advocate
Advocate

Hey,

Thank you very much I opened it and it worked. Also understood how it works. Much appreciated.

 

0 Likes
Message 7 of 8

yan.gauthier
Advocate
Advocate
Accepted solution

Hi,

 

This sort of feature is best done with pattern and parameter equation.

yangauthier_0-1649765710325.png

yangauthier_1-1649765721556.png

 

this example fixes the center-center distance. You could change it to fix the quantity or the side distance

Message 8 of 8

talha_ozdemir
Advocate
Advocate

Wow. It looks a bit complicated but I will give it a try, thanks ! 

0 Likes