[Add on] Advanced align tools

There’s something wrong with the consistent selection option. It doesn’t work in some cases. I have to study the thing!

Here two videos: the first shows how to align object position, rotation, scale and dimensions. It shows also how to add an offset to those features
[video]http://youtu.be/bKpKm7ioYVA[/video]
in the second is showed how to align objects pivot to a reference object or cursor or about each object. The position offset works also for this feature.
[video]http://youtu.be/YGuXYLNr2zw[/video]

The third section is to move the cursor about the active object. It works in the same way as the others.

The consistent selection option should allow to treat the entire selection as a single object. Sometimes works, and sometimes not, so try it. Could help you in the cases it works! :smiley: I’ll try to see what’s wrong!

Bye!

Due to a oversight the Consistent selection didn’t work. Now it works! Yuppie! Practically, it allows you to treat the selection as a solid single object and align it. For example, if you have a lamp made by many different objects, you can align it on a table without loosing the parts reciprocal positions.

The next steps will be enabling more kind of object for alignments. Actually you better use only mesh. And you better always have active object selected and all the selected objects better they have at least a vertex (this for the moment, to prevent errors).

See first post for download. Bye!

hi Lell,
thanks for your continuing work on the script.it will be useful if the script considers a Group as a single object for aligning.(maybe the latest does so-i will check).

yes, it does. In the advanced options, enable Consistent selection. I you want the active object to be part of the movement, enable Active too. Works only for the locations alignments.
Can someone suggest a better name for the option “Consistent selection”? I could not think a better name at the moment. thank you!

Hello! A new update! Now supports all kinds of objects, but not all considering theri data. The scripts consider data space only for meshes, texts and surfaces. For the other objects considers just the pivot.

Now you can allign the cursor to the entire selection, not just to the active object.

Please test it with various conbination of abjects, and please report me what objects were selected and what object was the active. I think that may be there some errors.

here it is! https://www.dropbox.com/s/t7a87evnqtunnh6/object_advanced_align_tools0_8.py

Bye!

Hi, great addon! Just what I was looking for. I’ve installed it and works well but I’ve found that after an alignment if I try to grab, rotate or scale the aligned object will misalign and not respond to whatever the transformation I’m trying to do.

EDIT: Ok, I found that I had “manipulate center points” active :o. But the misalign still occurs. I have to say that this is only happening in one particular scene I’m working on, I’ve tested it on a new scene and it works perfect.

Latest version 0_8 doesn’t work for me , can’t find it in Users/Preferences/Addons. Old version 0_6 works just fine.

I’m sorry, what do I have to do to make this add-on to bacome an official Blender tool? I mean a tool developed by the foundation developers. Who do have have to propose?
I can’t do better than this, so I wish that professional developers make it an official blender tool. thankyou

Wow REALLY this must be in trunk and activated by default this is an extremely useful tool! thank you for your efforts and time invested. I´m not a developer so I can´t tell you how to make it an official tool but…

Ask questions on #blenderpython IRC channel. (taken from wiki blender).

Again Thanks!:D:yes:

OK, I think I’ve found all the necessary stuff to get it into trunk, here’s the link:

http://wiki.blender.org/index.php/Dev:Py/Sharing

and part of that info is here—>http://wiki.blender.org/index.php/Dev:Py/Sharing/Upload

Here---->http://wiki.blender.org/index.php/Dev:Py/Sharing/Contrib

and here------> http://wiki.blender.org/index.php/Dev:Py/Sharing/Release

Hope it helps :smiley:

Thankyou very much! I think that in this case, the main problem is that the tool code must certainly be rewritten. I hope your solution could fit also this case.

OK, uploaded the file here. https://projects.blender.org/tracker/index.php?func=detail&aid=35322&group_id=153&atid=467
Now I suppose I have to wait until a developer give it a look…

Appricated for all your work, Lell! It has been so useful for a lot of people, especially for the Min and Max align! Thank you so much.
Btw, I wonder if you would consider to add in “Distribute” option? I mean, Align and Distribute are using together quite often, just like what is like in Photoshop or Inkscape. I bet this will be quite excellent to be implemented into 3D world, of which the official blender lacks, too. :slight_smile:

Yes, the distribute function could be very similar. I thinked about it. I could try to make a separate script for that. Thankyou for you apreciation!

Lell, this is extremely useful, and advanced indeed. Why not putting it hereat the wiki addon page?

Wow thanks for this script. Really dont understand why there’s nothing like this included in blender. This is sort of a must i think, almost every design application has this

Hi,
I appreciate this addon very much, one thing I would suugest though-as per my experience w/CAD
a feature would be usefull-I think:
Aligning by 3-points (x,y,z): First you indicate source 3 points defining x,y,z, axes on source object then-the same on target object-possible?

Seems not to work with 2.71.

make sure you have two objects selected, be careful with fit dimensions, it can error if too much else going on.
https://www.dropbox.com/s/t7a87evnqtunnh6/object_advanced_align_tools0_8.py from first post.