> tools

Constraints

tools/constraints·v1.3.0
IN:3  OUT:3

The Constraints operator generates the constraint data required by the Soft Body Simulation operator. It prepares the relationships between points including distance, stiffness, rest length, damping, and other physical properties that the soft body solver uses to simulate realistic deformation and behavior.

This operator creates various types of constraints that define how geometry should behave during soft body simulation. You can configure stretch (distance along edges), bend (across triangles), struts (internal support), pressure (volume preservation), cloth (combined stretch and bend), string (one-dimensional constraints), attach to geometry, glue (proximity-based), and pin to target constraints. Each constraint type includes controls for stiffness, damping ratio, rest length/angle scaling, and optional plasticity for permanent deformation.

PAGEGeometry
Lock InputLockinputLock the input geometry to prevent updates from upstream changes.
ReloadReloadReload the input geometry and regenerate constraints.
GroupGeogroupName of the group to process. Leave empty to process all geometry.
Visualize GeometryVisualizegeometryDisplay the input geometry in the viewport for debugging.
Set MassSetmassUniform mass value per point when Mass is set to Set Uniform.
DensityDensityMaterial density used when calculating mass from geometry volume or surface.
Visualize MassVisualizemassDisplay point mass values as color visualization for debugging.
Set ThicknessSetthicknessUniform thickness value when Thickness is set to Set Uniform.
Edge Length ScaleEdgelengthscaleMultiplier for edge lengths when calculating varying thickness.
Visualize ThicknessVisualizethicknessDisplay thickness values as color visualization.
Normal DragNormaldragDrag coefficient perpendicular to the surface.
Tangent DragTangentdragDrag coefficient along the surface. Controls sliding friction.
Enable PartitionEnablepartitionEnable partitioning geometry into separate pieces for independent constraints.
Number of Pieces DetectedNumpiecesRead-only display of how many pieces were detected.
Minimum Points per PieceMinpointsperpieceMinimum number of points required for a piece to be valid when using connectivity partitioning.
Search PassesSearchpassesNumber of connectivity search passes for finding connected components.
Piece AttributePieceattrName of the attribute containing piece IDs.
Visualization SeedVisualizationseedRandom seed for piece color generation.
Visualize PiecesVisualizepiecesDisplay each piece with a unique color.
PAGEGeometry
Target Geometry GroupTargetgroupName of the target geometry group to use. Leave empty for all.
Target Geometry PathTargetpathPath to the target geometry operator.
Visualize Target GeometryVisualizetargetDisplay the target geometry in the viewport for debugging.
PAGEConstraints
Save File ToFilesaveFile path to save the generated constraint geometry.
Save GeometrySavegeometryPulse to save the current constraint geometry to the specified file.
Geometry FileGeofileFile path to load pre-generated constraint geometry from.
Load GeometryLoadgeometryPulse to load constraint geometry from the specified file.
Visualize ConstraintsVisualizeconstraintsDisplay constraint connections as lines in the viewport.
StiffnessStretchstiffMultiplier for stretch stiffness.
Damping RatioStretchdampratioDamping ratio (0-1) for stretch constraints. Higher values reduce oscillation.
Rest Length ScaleStretchrestscaleMultiplier for the rest length.
Enable PlasticityStretchplasticityAllow permanent deformation of stretch constraints when threshold is exceeded.
ThresholdStretchthresholdStrain threshold before plastic deformation begins.
RateStretchrateRate of plastic deformation per frame once threshold is exceeded.
Ratio of Current Rest LengthStretchratiorestlenWhen enabled, rate is relative to current rest length instead of absolute.
HardeningStretchhardeningIncrease in stiffness as plastic deformation accumulates.
Enable Output GroupStretchenablegroupCreate a primitive group containing stretch constraints on the constraint.
Output GroupStretchgroupName of the group to store stretch constraints.
StiffnessBendstiffMultiplier for bend stiffness.
Damping RatioBenddampratioDamping ratio (0-1) for bend constraints. Higher values reduce oscillation.
PAGEConstraints
Rest Angle ScaleBendrestscaleMultiplier for the rest angle. Values above 1.0 create pre-bent constraints.
Enable PlasticityBendplasticityAllow permanent deformation of bend constraints when threshold is exceeded.
ThresholdBendthresholdAngular strain threshold before plastic deformation begins.
RateBendrateRate of plastic deformation per frame once threshold is exceeded.
Ratio of Current Rest LengthBendratiorestlenWhen enabled, rate is relative to current rest angle instead of absolute.
HardeningBendhardeningIncrease in stiffness as plastic deformation accumulates.
PAGEConstraints
Bend Output GroupBendenablegroupCreate a primitive group containing bend constraints on the constraint geometry.
Output GroupBendgroupName of the group to store bend constraints.
PAGEConstraints
Pin PointsPinpointsPoint group name for pinning points to their animated positions.
Match AnimationMatchanimationUpdate pinned point positions to match input animation each frame.
Visualize PinnedVisualizepinnedDisplay pinned points in the viewport for debugging.
Constraint per PointConstperpointNumber of strut constraints to create per point.
JitterStrutsjitterRandom variation in strut search direction.
Any HitAnyhitUse first hit instead of closest hit for strut connections.
Detach Point ChanceDetachProbability (0-1) of randomly excluding points from strut creation.
SeedStrutsseedRandom seed for strut generation and jitter.
Jitter SeedAttachseedRandom seed for attach position jitter.
Jitter AmplitudeAttachampMaximum distance for random attachment position offset.
Jitter ExponentAttachexpExponent for jitter distribution. Values above 1.0 bias toward smaller offsets.
Minimum DistanceMindistMinimum search distance for glue constraints.
Maximum DistanceMaxdistMaximum search distance for glue constraints.
Max Constraints per PointMaxlinesperpointMaximum number of glue constraints to create per point.
Uniform DistributionUniformdistDistribute glue constraints evenly around each point.
Max Temp NeighborsMaxtempneighborsMaximum number of temporary neighbors to consider during glue constraint search.
PAGECommon
Free Extra GPU MemoryFreeextragpumemFree memory that has accumulated when output memory has grown and shrunk.
Input 0 POP Geometry
Input 1 POP Constraints
Input 2 POP Collision Geometry
Output 0 POP Geometry
Output 1 POP Constraints
Output 2 POP Collision Geometry