How to iLogic a pattern of sherical packing

How to iLogic a pattern of sherical packing

karl-andreas_gross
Contributor Contributor
187 Views
2 Replies
Message 1 of 3

How to iLogic a pattern of sherical packing

karl-andreas_gross
Contributor
Contributor

Dear Community,

as far as i understand, there is not integrated solution in Inventor to create radial packing patterns like so:

 

1.jpg

the diameter d_0 of the minor spheres is given, and either the outer diameter d_c is given, or the number of "layers" of hexagonal arrays (in this picture = 5) is given.

 

Furthermore, an additional inner diameter shall be given in the iLogic code to produce a donut-Shape circle:

 

 

2.jpg

 

Is it possible to create an ilogic code to produce all this as one ipt? The idea behind this is to resemble the theoretical filling of a hollow tube with beads. in 3D , the final result should look like in this fake-solution using a texture:

karlandreas_gross_0-1776166266703.png

 

for small d_0 and large d_c, the solution might become an issue performance wise. Do you have any suggestions?

 

Thank you in advance!

 

0 Likes
188 Views
2 Replies
Replies (2)
Message 2 of 3

jnowel
Collaborator
Collaborator

Look into this post: Pattern inside boundary - Autodesk Community

But if you are using Inventor 2025 and later, there is already a built-in solution for the Boundary Pattern.


On sample snapshot below, Only the green ones will be included in the pattern as defined by the boundary.
I just created a large pattern to fill; you can optimize so the pattern values and direction, so the instances are just enough for your case.
Play around with the other "Inclusion" settings and there's probably something that can suit your requirement

image.png

0 Likes
Message 3 of 3

hollypapp65
Collaborator
Collaborator
0 Likes