User Tools

Site Tools


DzShapeRiggingAdjuster

Implements the logic of adjusting bone positions and orientations of the selected figure, based on the current shape.

More...

Inherits :

Constructors

DAZ Script
DzShapeRiggingAdjuster ()

Methods

DAZ Script
BooleandoAdjustments ()
voidsetAdjustCenterPoints ( Boolean yesNo )
voidsetAdjustEndPoints ( Boolean yesNo )
voidsetAdjustOrientation ( Boolean yesNo )
voidsetExcludedBones ( Array boneNames )
voidsetExcludedFacetGroups ( Array groupNames )
voidsetFigure ( DzFigure figure )

Detailed Description

See Also:

Attention:

  • This object is provided by the Joint Editor Tool plugin. It is only available when the Joint Editor Tool plugin is activated and enabled.

Since:

  • 4.9.3.93

Constructors


DzShapeRiggingAdjuster()

Default Constructor. Creates a shape rigging adjuster that can be used to adjust bone positions and orientations of the selected figure, based on the current shape.

Methods


Boolean : doAdjustments()

Performs the rigging adjustment based on the current shape.

Return Value:

  • true if the adjustment was successful, false if the adjustment could not be completed.

void : setAdjustCenterPoints( Boolean yesNo )

Sets whether or not center points of bones being ajusted are allowed to be modified.

Parameter(s):

  • yesNo - If true (default), the center points of bones are permitted to be modified.

void : setAdjustEndPoints( Boolean yesNo )

Sets whether or not end points of bones being ajusted are allowed to be modified.

Parameter(s):

  • yesNo - If true (default), the end points of bones are permitted to be modified.

void : setAdjustOrientation( Boolean yesNo )

Sets whether or not the orientations of bones being ajusted are allowed to be modified.

Parameter(s):

  • yesNo - If true, the orientations of bones are permitted to be modified.

void : setExcludedBones( Array boneNames )

Sets the list of bones to exclude when adjusting.

Parameter(s):

  • boneNames - The list of bone names to exclude.

void : setExcludedFacetGroups( Array groupNames )

Sets the list of facet groups to exclude when calculating adjustments to make.

Parameter(s):

  • groupNames - The list of facet group names to exclude.

void : setFigure( DzFigure figure )

Sets the target asset to be the geometry contained by the given node.

Parameter(s):

  • figure - The figure to adjust the rigging on.