nAlignPoints
A script that aligns selected points with a target point along a global or local axis. This is actually a modified version of Chris Gardner's cgAlignPoints script. (Hope you don't mind mate!). The main difference between the scripts is that this one doesn't bring up a requester. Instead it allows the user to specify directly which axis to use with the keyboard. This speeds up workflow, especially when assigned to a hotkey.
Installation
Simply Drag-and-Drop the file onto a custom toolbar to register the script with XSI's CommandMap.
or
Run the script straight from the Script Editor. This will however have a negative impact on performance because the command will be echoed in the History Log.
Usage
1) Select points. (Fig.01)
2) Execute the script.
3) A picker appears which lets you specify a target point.
4) Hold down a modifier key (see table) to change axis.
5) With the optional modifier key still held, click on the point and watch as the source points align themselves with the target point! (Fig.02)
| Limitations |
| ● |
|
The local axis toggle only works if the user clicks directly on a point. It doesn't work elsewhere! |
| ● |
|
The script can be VERY slow if run directly from the Script Editor |
|