/
findNonRigid

findNonRigid

Description

Assumes all selected nodes are intended to be rigidly connected; selects any keys on those nodes that stray outside the given rigidity tolerance.

The findNonRigid command is useful for screening out the effects that an errant object motion within a group assumed to be rigid will have on a rigid body applied to those objects.

As a result of digital noise, occlusions, or marker collisions objects that ought to be rigid sometimes display non-rigid behavior; findNonRigid allows you to identify such keys with a tolerance value expressed in millimeters. After identification, you can choose to process or ignore any keys that are found to be non-rigid.

Functional area

Data retrieval

Command syntax

Syntax

findNonRigid tolerance[-ranges]

Arguments

NameTypeRequiredComments
tolerance

Float value of the distance tolerance, expressed in millimeters

Flags

NameFlag argumentsArgument typeExclusive toComments
ranges0Operates only in selected time ranges.

Return value

integer

Examples

select LANK LHEL LMT1 LMT5;
findNonRigid 20; 
// Executing these commands will have the effect of selecting all keys
// within the specified left foot markers that are more than 20
// millimeters distant from their rigid location. 
// The rigid location for each marker at each frame is that location
// defined by the provisional application of the rigid body.

Additional information

Related commands