My understanding is that objects can be added programmatically in Python fairly simply, such as:
import bpy bpy.ops.mesh.primitive_cube_add(location=(1,0.0,2.0), radius=0.5)
However, in a generative art project, is it possible to test whether an added object overlaps (collides?) with a previously defined object and to modify its parameters if necessary and then retest? If this is indeed possible, can I also receive detailed information about the overlap/collision such as which object are involved, the amount of overlap, location of overlap, etc?