An open API service indexing awesome lists of open source software.

https://github.com/leixingyu/snaptool

Maya rigging tool to snap any IK to FK and vice versa
https://github.com/leixingyu/snaptool

inverse-kinematics maya-python rigging

Last synced: 7 months ago
JSON representation

Maya rigging tool to snap any IK to FK and vice versa

Awesome Lists containing this project

README

          


Snap Tool


Since FK/IK Rig is a very common but necessary setup, so is a tool that allows FK and IK controller
matching. Snap tool is an animation tool that match IK controller
to FK controller and vice versa.


Full Demo


## About The Project


snap-tool

I've come across two methods to achieve FK/IK snapping/matching,
both methods relies on assessing the joint info,
as controller is a layer on top of the joints and can be drastically
different across rig types.

- Constraint-based: used for easy setup
- **FK to IK**: use joint position in FK mode to point constraint IK controllers
- **IK to FK**: use joint rotation in IK mode to orient constraint FK controllers

- Vector math: used for generic setup
- **FK to IK**: set IK handle and IK root based on joint position in FK mode; calculate
mid-vector based on joint position in FK mode to set IK pole vector.
- **IK to FK**: set FK controllers to joint rotations in IK mode

## Getting Started

1. Unzip the [snapTool.zip](https://github.com/leixingyu/snapTool/releases/tag/v1.0.0) package under
`%USERPROFILE%/Documents/maya/[current maya version]/scripts/`
or a custom directory under `PYTHONPATH` env variable.

2. Launch through script editor:
```python
from snapTool import snapUI
snapUI.show()
```

## Usage

### Step 1: Assign Joints

the tools take a snapshot of the current active
result joint, and record its transform information.

assign

### Step 2: Assign Controllers

assign either FK controllers or IK controllers
for matching by selecting it.

### Step 3: Snap!

click 'snap' will force the transform matching to the joint snapshot

switch