Hi,

I am trying to make a set of overlapping spheres that form a cylinder of specified dimensions (sort of like a lattice of bucky balls), but I cannot figure out an efficient way to do this using solidworks. Any help is appreciated.

Thanks,

JP

Hi,

I am trying to make a set of overlapping spheres that form a cylinder of specified dimensions (sort of like a lattice of bucky balls), but I cannot figure out an efficient way to do this using solidworks. Any help is appreciated.

Thanks,

JP

This is the first attempt:

See attached SW file.

There are a few weak spots in this example.

1. The linear pattern has to select all solid bodies created by the circular pattern. That works if you lower the number of spheres, but if you make the number bigger, it will not select the new bodies. You would have to select them manually.

2. The equation for the Plane1 offset does not seem to update.

3. You might need to trim the bodies from the top of the cylinder, or modify the equation accordingly.

One more thing Juan. I have just noticed that you posted in the assembly forum. You can do the same thing in the assembly with component patterns. The rebuilds will actually be much faster at the assembly level than in the part environment.

Let me know if you need such an example also.

Alin -

Juan hasn't responded at all, but from his wording I would guess that he actually wants them to fill in the gaps - so the number of spheres in each row would alternate so that they mingle together (as he said, overlap).

Not that it makes it more difficult, just entails adding 2nd row before the linear pattern

Hi Alin,

Thank you so much for the help.

The gaps in between the spheres is okay, but I should've mentioned that I would like to make a solid array, i.e. have spheres on the inside too. The geometry of the array does not need to be symmetric in any way, it can be a random array contained within a cylinder as long as the spheres are in contact with one another.

Thanks again

Juan

Nice challenge!!! I believe the API guys would be able to create such a macro in no time, but let's try also to do it with regular SW tools.

Give me some time and I'll come back with an example.