Difference between revisions of "IC Python API:Pose Manager"
From Reallusion Wiki!
Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}} == Demo Video == == Description == Pose Manager can be used to record a character’s pose for the curr...") |
Chuck (RL) (Talk | contribs) m (→Description) |
||
Line 7: | Line 7: | ||
Pose Manager can be used to record a character’s pose for the current frame as snapshots. These pose snapshots can be edited, organized and saved as part of a Pose Library. Pose Manager allows you to load, edit, and overwrite existing Pose Libraries. You can apply these pose snapshots to any other character with compatible rigging. The target character will immediately assume the pose of the snapshot to the best of its abilities. | Pose Manager can be used to record a character’s pose for the current frame as snapshots. These pose snapshots can be edited, organized and saved as part of a Pose Library. Pose Manager allows you to load, edit, and overwrite existing Pose Libraries. You can apply these pose snapshots to any other character with compatible rigging. The target character will immediately assume the pose of the snapshot to the best of its abilities. | ||
+ | |||
+ | === Feature Rich Interface === | ||
+ | |||
+ | The interface is composed of several interface groupings: '''Library''', '''Pose''', '''Pose List''', '''Masking''', '''Right Hand''', and '''Left Hand'''. | ||
+ | |||
+ | [[File:Ic_python_api_pose_manager_01.png]] | ||
+ | |||
+ | ==== Library Group ==== | ||
+ | |||
+ | *Name of the pose library, same as the file name. | ||
+ | *Load, save, and create new library. | ||
+ | |||
+ | ==== Pose Group ==== | ||
+ | |||
+ | *128x128px preview image. | ||
+ | *Mirror, Mirror Left (Symmetry), Mirror Right (Symmetry), Add Pose. | ||
== Course Prerequisites == | == Course Prerequisites == |
Revision as of 23:19, 1 March 2020
- Main article: RL Python Samples.
Demo Video
Description
Pose Manager can be used to record a character’s pose for the current frame as snapshots. These pose snapshots can be edited, organized and saved as part of a Pose Library. Pose Manager allows you to load, edit, and overwrite existing Pose Libraries. You can apply these pose snapshots to any other character with compatible rigging. The target character will immediately assume the pose of the snapshot to the best of its abilities.
Feature Rich Interface
The interface is composed of several interface groupings: Library, Pose, Pose List, Masking, Right Hand, and Left Hand.
Library Group
- Name of the pose library, same as the file name.
- Load, save, and create new library.
Pose Group
- 128x128px preview image.
- Mirror, Mirror Left (Symmetry), Mirror Right (Symmetry), Add Pose.
Course Prerequisites
You should familiarize yourself with the following fundamental lessons before you proceed:
Link | Purpose |
---|---|
List View | |
Mirror Pose | |
Record Pose | |
Taking Screenshots | |
Saving JSON |
Takeaway Lessons
- Read motion bone local transformation data.
- Save, load, and edit data.
- Apply motion bone transformation.
Required Files
- Pose Manager Python script.
- Characters and props in the iClone scene.
- Character motions or poses.
Usage Instructions
Code Flow
APIs Used
You can research the following references for the APIs deployed in this code.
- RLPy.RPyTimerCallback.__init__()
- RLPy.RScene.GetSelectedObjects()
- RLPy.RUi.ShowMessageBox()
- RLPy.RMatrix3()
- RLPy.RQuaternion()
- RLPy.RGlobal.GetTime()
- RLPy.RGlobal.Stop()
- RLPy.RGlobal.SetTime()
- RLPy.RTime.IndexedFrameTime()
- RLPy.RGlobal.GetFps()
- RLPy.RUi.GetMainWindow()
- RLPy.RScene.ClearSelectObjects()
- RLPy.RPyTimer()
- RLPy.RScene.SelectObjects()
- RLPy.RUi.CreateRDialog()
- RLPy.RUi.AddMenu()