//---------------------------------------------------------------------------------------------- // // advanced align tool // // SCRIPT: icAlignToolUI.mel // // OTHER SCRIPTS: icAlignTool.mel // // AUTHOR: Ingo Clemens // DATE: October 26, 2003 // // DESCRIPTION: A 3ds max-style align tool, which is very convenient. The script aligns // two selected objects with various options. // It's also capable of aligning the pivot to a target object, as well as // to it's own object. // Objects with hierachies below them can have a bigger bounding box if the // hierarchie objects are bigger or in a different position. // The tool respects that and only works with the true bounding box of the // align objects. // The first selected object is the source object and the second acts as // the target. // // VERSIONS: // 1.3 - Jul. 29, 2005 // - made the global variables more unique by their names // - made the tool discontinue if nothing is selected upon tool invocation // // 1.2 - Jul. 10, 2004 // - The objects show their local axis for better feedback // - Corrected a flaw where the pivot didn't align to the // target object correctly // // 1.1 - Jul. 05, 2004 // - The window is now resizable // // 1.0 - Oct. 26, 2003 // //----------------------------------------------------------------------------------------------