I have to fit some n identical cylinders in a circular cross-section of diameter D. I was trying to use the array modifier but that seems to work for duplicating on the curve and not inside the curve. Is there any way to achieve it from the GUI or any other alternative way using python?
Asked
Active
Viewed 239 times
2
Ayush Pallav
- 123
- 1
- 3
-
Related https://blender.stackexchange.com/questions/80690/random-sized-cylinders-with-no-intersection-gaps – Duarte Farrajota Ramos May 26 '18 at 04:31
-
@DuarteFarrajotaRamos I need to arrange the cylinders in a definite order. A definite number of cylinders arranged linearly along the diameter, then decreasing continuously to complete the circle. – Ayush Pallav May 26 '18 at 04:41
-
1Circle Packing I recall a question about it here, can't find it. Have a look at the wonderful sverchok addon – batFINGER May 26 '18 at 08:08
-
By a 'Definite Order', do you mean in a definite sequence, or just a definite arrangement? Do you want, for example, triangular packing on a hexagonal lattice? – Robin Betts May 26 '18 at 09:24
-
@RobinBetts I am looking for triangular packing on a hexagonal lattice only. By definite order I mean the arrangement is fixed. – Ayush Pallav May 26 '18 at 14:28
-
As @batFINGER points out with his link, while you can pack a hexagon easily enough with a triangular grid, optimally packing a circle with circles is a mathematically hard problem to which there is no regular solution. Maybe there's a regular (rule-based) sub-optimal solution you are looking for? – Robin Betts May 26 '18 at 17:29
-
I am completely new to blender, considering that can you help me in this? What I am thinking of is, if possible I can fit hexagons in the circle and then at each vertex as the center, I can place the circle.@RobinBetts – Ayush Pallav May 28 '18 at 04:21
-
not sure what you mean, can help only with sverchok addon – nikitron Jun 01 '18 at 08:59
1 Answers
0
http://pasteall.org/blend/index.php?id=49632
HERE is solution with maybe many of circles

nikitron
- 1,022
- 1
- 8
- 13
-
1Please use here for blend files. The paste all file will be automatically removed after a certain time, making the answer less useful in future. – batFINGER Jun 01 '18 at 11:37
-
Don't use Pasteall.org to host files. The links expire after a while and then no one will be able to download them, making your the answer less useful. Don't make the answer depend on the user reverse-engineer your file, to make the answer clear, please expand the text and add an explanation of what you are doing. The images are not enough to understand the logic of your nodes or why you chose the values you are using. – Jun 01 '18 at 14:09
-
I am not able to understand your logic, can you elaborate a bit, considering I am new to the software. – Ayush Pallav Jun 01 '18 at 17:31
-
There is monad (group) of sverchok that contain nodes (select and press tab or alt+G to ungroup) and see what inside. i just filter vertices incoming – nikitron Jun 06 '18 at 12:13
