Difference between revisions of "IC Python API:Uses and Capabilities"

From Reallusion Wiki!
Jump to: navigation, search
m (v0.7.6)
m (v0.7.6)
Line 407: Line 407:
 
!scope="row"|RIFileIO
 
!scope="row"|RIFileIO
 
|Fixed RLPy.RIFileIO.LoadObject(): Now supports iPkfx file format.
 
|Fixed RLPy.RIFileIO.LoadObject(): Now supports iPkfx file format.
 +
|}
 +
</div></div>
 +
 +
=== v0.7.7 ===
 +
 +
<div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;">
 +
<div style="font-weight:bold;line-height:1.6;">iC 7.7 ( 12/05/2019 - 12/18/2019 ) </div>
 +
<div class="mw-collapsible-content">
 +
{|class= "wikitable"
 +
!scope="row"|RFileIO
 +
|Modified RLPy.RFileIO.LoadObject(): New Parameter(bRecordStep) to decide whether to record this operation into Undo/Redo list
 +
|-
 +
!scope="row"|RFileIO
 +
|Modified RLPy.RFileIO.LoadFile(): New Parameter(bRecordStep) to decide whether to record this operation into Undo/Redo list.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::GetAttributeCount(): Get the number of PopcornFX attributes.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::GetAttributeName(index): Get the attribute name of a given index.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::GetAttributeValue(index): Get the attribute value of given index.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::AddAttributeKey(Time, str, list(4)): Add the attribute key by time and name.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::GetSamplerList(EPopcornFxSamplerType): Get the name of all samplers.
 +
|-
 +
!scope="row"|EPopcornFxSamplerType
 +
|New EPopcornFxSamplerType(): Get the sampler object.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::GetMeshSamplerTarget(str): Set the sampler object.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::GetMeshSamplerTarget(str, RIObject):
 +
|-
 +
!scope="row"|EObjectModifiedType
 +
|New EObjectModifiedType(): Provides the type of the object that was modified.
 +
|-
 +
!scope="row"|RIGlobal
 +
|New RIGlobal::ObjectModified(RIObject): This command can detect changes made to an object which is useful for refreshing a custom user interface or informing a plugin of the changes.
 +
|-
 +
!scope="row"|RIPopcornFXObject
 +
|New RIPopcornFXObject::ClearMeshSamplerTarget(str): Removes the Mesh Sampler target object.
 
|}
 
|}
 
</div></div>
 
</div></div>

Revision as of 01:08, 26 December 2019

Main article: iClone Python API.

The iClone Python API helps you to extend and customize iClone, and more easily integrate it into a Python-based pipeline. It provides a bridge between iClone and Python libraries and Python tools. The Python SDK is built on top of the iClone C++ SDK, and you can access a subset of the iClone API from Python scripts and execute them in iClone.

The iClone Python API can do the following:

Character Prop Camera Light
Std(G5, CC, etc.) Non-Std Non-Human
Transformation (RTS) 7.4 7.4 7.4 7.4 7.4 7.4
Facial Expression 7.4 Mo-cap Module 7.4 Mo-cap Module - - - -
Morph Animation 7.4 Experimental 7.4 Experimental 7.4 Experimental 7.4 Experimental -
Material 7.4 Experimental 7.4 Experimental 7.4 Experimental 7.4 Experimental 7.4 Experimental
Parameters - - - - 7.4 Experimental 7.4 Experimental

Capabilities

As the iClone Python API continues to evolve, additional capabilities will be added over time. Below are lists of iClone Python API's current capabilities categorized by version number. The lists below are by no means exhaustive.

v0.7

[Expand]
iC 7.4x

v0.7.1

[Expand]
iC 7.4x ( 01/17/2019 - 01/31/2019 )

v0.7.2

[Expand]
iC 7.4x ( 02/15/2019 - 02/27/2019 )

v0.7.4

[Expand]
iC 7.5 ( 04/08/2019 - 07/01/2019 )

v0.7.5

[Expand]
iC 7.6 (07/05/2019 - 07/29/2019)

v0.7.6

[Expand]
iC 7.7 ( 08/08/2019 - 11/05/2019 )

v0.7.7

[Expand]
iC 7.7 ( 12/05/2019 - 12/18/2019 )

Limitations

As the iClone Python API continues to evolve, limitations may expand or contract over time. Below are lists of iClone Python API's currently known limitations. This list is not exhaustive.

Inoperable Assets

The following items can not be manipulated and acted upon with Python scripting:

  • Particle FX (iClone & PopcornFX)
  • SpeedTrees
  • Substance Materials
  • Textures Images
  • Constraints: Path, Spring, LookAt, Link, Physics, etc.
  • Physics (Soft & Rigid)
  • IK end-effectors (control attached props instead to drive IK reach)
  • Mesh level components: vertices, edges, faces, etc.
  • Preview camera

Unsupported Operations

The following operations are not available via Python scripting:

  • Saving iClone formats: iProjects, iAvatars, iProps, etc.
  • Pixel operations: multiply, add, overlay, etc.
  • Image processing: Brightness, Hue, Saturation, Sharpen, Soften, Blend, etc.
  • Render parameter settings (Project settings can not be changed)
  • Facial lip-sync keying
  • Preference settings
  • Attach/Detach: changing object parent-child relation
  • Align motion/character root alignment
  • Modeling operations: manipulation of mesh components