A while ago a friend of mine asked me to create a simple addon for objects alignment. I have experience of Python and some tiny one of Blender, thus I agreed and then created what you see here.
BTW, the addon works with both Blender 2.8 and 2.7x. And I'm not obsessed with this project, so don't expect frequent updates. Any adequate contributions are welcome.
The addon adds View3D > Object > Align submenu, there you can see these commands:
-
Align between bounds – it will place selected objects...
- using specified order (based on source axis; it can be the same axis as target)
- between the most distant (based on target axis) objects setting same distance between objects
- depending on objects' centers or borders.
-
Align with specific padding by cursor – it will place selected objects...
- using specified order (based on source axis; it can be the same axis as target)
- with the same specified distance between objects starting from Cursor
- depending on objects' centers or borders.
All the relocations affect the target axis only.
-
Copy the content of the Python file;
-
Paste it as a new file to the Scripting section of your Blender project;
-
And click
Run scriptbutton.
After that you will be able to use the Align submenu.
If you know a better installation way – let me know.
-
Aligning with specific padding based on objects' borders works correctly only if objects' origin are geometry centers. It would be better to deal with any origin.
-
Something else?..