yfchild,
OK, OK, here is a little zscript to help you out. I’ve really no time to do more just now but I think you will find it useful.
It is not a plugin; simply load it from the ZScript:Load button. (But if you want a plugin you could use my ZPlugMaker to convert it. )
This is how it works:
-
With your ZSpheres in Edit mode, place your cursor over the ZSphere that you want to be your reference point (for example the ‘Root’ ZSphere, but it can be any one). Press ‘F’ on the keyboard. This stores the reference point.
-
Set the axis you want to align by clicking the appropriate X, Y or Z switch. You can only align by one axis at a time but you can change axes without resetting the reference zsphere.
-
Place your cursor over the zsphere you wish to align and press ‘G’ on the keyboard. The ZSphere will move position. You can then go on and align other zspheres in the same way.
Note: the hotkeys ‘G’ and ‘F’ for Projection Master and QuickEdit are over-ridden only while the zscript is active. Simply press the buttons for those features should you need to use them.
Be careful not to move your reference zsphere while aligning zspheres - the alignment will be based on the original, stored position.
EDIT: Revised the ZScript so that there is an error message if no zsphere under the cursor.
HTH,