POPX

Constraint Property

v1.3.0
Tools

Summary

The Constraint Property operator modifies the properties of constraints after they are generated. It allows you to adjust stiffness, rest length, damping, and other constraint parameters dynamically. The operator can read values from geometry attributes to modulate these properties, enabling attribute-driven control over constraint behavior.

The Geometry page allows transforming the geometry which affects the constraints by recomputing properties like rest length. This is useful for fine-tuning constraint simulations by editing constraint attributes post-generation. You can selectively modify constraints based on groups, apply scaling factors, or use attribute data to create spatially-varying constraint properties.

Parameters

Transform OrderXord
Sets the overall transform order for the transformations.
Scale Rotate TranslatesrtScale Translate RotatestrRotate Scale TranslaterstRotate Translate ScalertsTranslate Scale RotatetsrTranslate Rotate Scaletrs
Rotate OrderRord
Sets the order of the rotations within the overall transform order.
Rx Ry RzxyzRx Rz RyxzyRy Rx RzyxzRy Rz RxyzxRz Rx RyzxyRz Ry Rxzyx
TranslateT
Translate the points in the three axes.
TranslateTxTranslateTyTranslateTz
RotateR
Rotate the points around the corresponding X, Y and Z axes. Angles are given in degrees.
RotateRxRotateRyRotateRz
ScaleS
Scale factor for each axis.
ScaleSxScaleSyScaleSz
PivotP
The pivot point for the transform rotates and scales.
PivotPxPivotPyPivotPz
Uniform ScaleScale
Uniform scale multiplier applied to all axes.
Constraint GroupConstraintgroup
Primitive group containing constraints to modify. Leave empty to modify all constraints.
EnableEnablestiff
Enable modification of stiffness values.
Stiffness ScaleStiffscale
Scale factor for stiffness (powers of 10). Higher values create more rigid constraints.
1e+101e+91e+81e+710000001000001000010001001010.10.010.0010.00010.000010.0000011e-71e-81e-91e-10
StiffnessStiffness
Multiplier for stiffness value.
OperationStiffop
How to apply the stiffness modification.
SetsetScalescale
EnableEnabledampratio
Enable modification of damping ratio values.
Damping RatioDampingratio
Damping ratio value (0-1). Higher values reduce oscillation.
OperationDampratioop
How to apply the damping ratio modification.
SetsetScalescale
Rest Length ScaleRestlengthscale
Modify constraint rest length scale values.
EnableEnablerestscale
Enable modification of rest length scale values.
Rest Length ScaleRestscale
Multiplier for rest length. Values above 1.0 create pre-stretched constraints.
OperationRestscaleop
How to apply the rest length scale modification.
SetsetScalescale
EnableEnableplasticthreshold
Enable modification of plastic threshold values.
Plastic ThresholdPlasticthreshold
Strain threshold before plastic deformation begins.
OperationPlasticthresholdop
How to apply the plastic threshold modification.
SetsetScalescale
EnableEnableplasticrate
Enable modification of plastic rate values.
Plastic RatePlasticrate
Rate of plastic deformation per frame once threshold is exceeded.
OperationPlasticrateop
How to apply the plastic rate modification.
SetsetScalescale
EnableEnableplastichardening
Enable modification of plastic hardening values.
Plastic HardeningPlastichardening
Increase in stiffness as plastic deformation accumulates.
OperationPlastichardeningop
How to apply the plastic hardening modification.
SetsetScalescale
EnableEnablestiffmap
Enable attribute-based stiffness mapping.
Stiffness ScaleStiffscalemap
Scale factor for attribute-driven stiffness (powers of 10).
1e+101e+91e+81e+710000001000001000010001001010.10.010.0010.00010.000010.0000011e-71e-81e-91e-10
AttributeStiffattr
Primitive attribute to modify stiffness with.
OperationStiffopmap
How to modify stiffness with the attribute values.
SetsetScalescale
EnableEnabledampratiomap
Enable attribute-based damping ratio mapping.
AttributeDampratioattr
Primitive attribute to modify damping ratio with.
OperationDampratioopmap
How to modify damping ratio with the attribute values.
SetsetScalescale
EnableEnablerestscalemap
Enable attribute-based rest length scale mapping.
AttributeRestscaleattr
Primitive attribute to modify rest length scale with.
OperationRestscaleopmap
How to modify rest length scale with the attribute values.
SetsetScalescale
EnableEnableplasticthresholdmap
Enable attribute-based plastic threshold mapping.
AttributePlasticthresholdattr
Primitive attribute to modify plastic threshold with.
OperationPlasticthresholdopmap
How to modify plastic threshold with the attribute values.
SetsetScalescale
EnableEnableplasticratemap
Enable attribute-based plastic rate mapping.
AttributePlasticrateattr
Primitive attribute to modify plastic rate with.
OperationPlasticrateopmap
How to modify plastic rate with the attribute values.
SetsetScalescale
EnableEnableplastichardeningmap
Enable attribute-based plastic hardening mapping.
AttributePlastichardeningattr
Primitive attribute to modify plastic hardening with.
OperationPlastichardeningopmap
How to modify plastic hardening with the attribute values.
SetsetScalescale

Inputs

Input 0POP
Geometry
Input 1POP
Constraints
Input 2POP
Collision Geometry

Outputs

Output 0POP
Geometry
Output 1POP
Constraints
Output 2POP
Collision Geometry