I have a large set of PolyData shapes and I want to randomly sample from a list of them and place them in a bounded region in space, and don’t want them to overlap. They are generally the same size and all have zero origin.
Does anyone have an example of having dome something like this? I use the python bindings generally.
I think the easy part would be to create a mesh label for each object to number the objects and use append filter to create one cloud, or just do that individually.
I think it would also be easy to randomly sample a coordinate location in a box and translate each object.
I am not sure though how you would choose a random orientation and them make sure no objects intersect.
maybe particle packing has something interesting to say, which would also be an interesting to pack the objects as close together in some random fashion without intersection.