I'm working on a Python script for Blender to generate 3D objects based on SVG files.
One thing I'm trying to automate is dropping various objects to a floor.
Each object can have varying dimensions, and rotation based on the contents of the SVG file. Most are bezier curves extruded to different heights, that are put onto groups and referenced. I need to makes sure some of these lay on a flat floor plane.
I also have a few text objects that copy the rotation of the camera to always be aligned with the viewing X axis - I need to make sure these touch the floor, but not intersect with it.
I'm usually doing this manually, but I'd like to automate as much as I can to save myself time spent on repetitive tasks.
If I could just setup some rigid body collision, lock rotation and drop it with Bullet physics - that'd be cool. I don't think I can do that with Blender groups.
Could I maybe replace the groups with some Animation Nodes sheningans? And use that to drop the stuff to floor, while obeying the object geometry?
What would you try?
