SourceForge.net Logo

CGRU

CGTALK.RU Logo

Local Tools Online Documentation

Introduction:

  This tool was designed to allow transformation of objects/components in various local axes. You can, for example, rotate around an edge or vertex normal/position, move in the plane of the face, scale to its normal, use other objects local space as a reference for the transformation, align pivot between two points/objects, etc. The tool automatically changes tool settings for move and rotate tool for it to work properly. On the tool finish it sets the tool settings back to what they were before.

  The tool allows you to select polygon, subdivision surface, nurbs (surface and curve) components, transforms (object) references for the local space. You can use maya’s “sacret” (move/rotate/scale) tools for further transforming the object/component. You can still use snapping and change the position of the pivot using the “d” or “ins” key.

  You can add/remove components from the current transformed list while the tool is active. Like if you tweaked something, rotated the camera and noticed that you’ve selected some unwanted components (or didn't select some wanted ones), you can add/remove those using shift/ctrl key while the tool is active.


  While the tool is active, it will give you the HUD display on the right (the height is customizable) to tell in which mode you're currently working. In version 7 it's a HUD button that toggles pivot lock while clicking on it and shows tool’s option box when ctrl + left mouse button clicking on it and it will exit the tool by shift clicking.

  The Use Pivot Orientation Only positions the transform pivot to the center of the selection instead of the center of the reference. It's useful in cases when you have long distance between the transformed comps/objects and the reference, or when you're working close to the object, with this on - only reference orientation will be applied to the pivot.

  The Pivot lock feature “locks” the pivot, so when the selection changes the tool will remain active and will reconstrain itself on the new selection. The tool also reacts on the tool switch from non sacret to sacret tool (while active) to provide the needed interactivity. When Lock pivot is turned off, the tool will finish its work right after the first selection change (that's what you will want in most cases). Unfortunately it was impossible to make this work with click drag.

  The tool also provides the “preferred selection type” setup for picking the reference. Like if you, for example, used to move your vertexes along edges, faces along vertexes, transforms along other transforms - you will be able to setup that. Next time when you enter the tool, it will switch to your preferred selection mode. I.e. for faces - vertexes, for vertexes - edges and for transforms another transform for instance. This will hopefully save you a couple of clicks.

  The tool also comes with Bake To Object feature, that "bakes" current local tool axes (local space) to the currently selected/hilited object/s. This command preserves complex hierarchies, parent order, cluster deformations, etc, so basically the only thing that's changed is the target object's local orientation, except for lights, gizmos and locators (though the hierarchy transformation is preserved).

  The setup of the tool is very simple. I've also included a couple of files to add the local tool menu item to the Modify --> Transformation tools maya’s menu. Needed command names are given to customize the HUD, assign tool to a hotkey, shelf, marking menu or whatever :).

Copyrigt �2005, Henry Korol
Last updated: 04.09.05



SourceForge.net Project

CGRU

Раздел на форуме CGTALK.RU