Appendix A · Field Names and Codes

A.4Material Advanced Fields

For TnpixTool.matSetAt node index field value. Setting a value ticks it. Out-of-range values are refused and the call returns false. A new Advanced material starts with relDamp (0.01), friction (0.35) and grip (3.0) ticked.

NamePanel control
stretchGoldK / bendGoldKStretch Stiffness / Bend Stiffness as one absolute number (also written to the coefficient and multiplier pair)
shearGoldKShear Stiffness
edgeK / warpK / weftKEdge Stiffness / Stretch XX (warp) / Stretch YY (weft)
relDampRelative Damp (k relative)
dampingGlobal Damping
stretchDamp / dampRatioBendStretch Damping Ratio / Bend Damping Ratio
membraneCompressCompression Stiffness
foldBodyFold Body k_b, 0 to 100
stretchDropoff / bendDropoffStiffness Dropoff (Stretch / Bend), 0 to 1
restLengthScale / restAngleScaleRest Length Scale / Rest Angle Scale
normalDrag / tangentDragNormal Drag / Tangent Drag; any value on tangentDragClear withdraws Tangent Drag
massKgM2 / massModeMass (kg/m2) / Mass Mode: 0 = Unchanged (value kept), other = Override
scaleMultiplier / scaleMultiplierModeScale Multiplier; scaleMultiplierMode 0 withdraws it
stretchTypeStretch Type: 0 = Standard (the default), 2 = Fabric Curve. 1 is not a Stretch Type and is refused. The numbers are the stored values, not the order of the panel's list.
nlWarpSoft / nlWeftSoftFabric Curve: Warp / Weft soft until, in percent (0.1 to 100)
nlBiasLockFabric Curve: Bias lock, in degrees (1 to 80)
nlLockMul / nlSmoothFabric Curve: Lock stiffness (1 to 100,000; 1 = no curve) / Lock smoothness (0 to 2)
nlClearWithdraws one Fabric Curve value, keeping the number: 0 Warp, 1 Weft, 2 Bias lock, 3 Lock stiffness, 4 Lock smoothness
strainLimitOn / maxStretchStrain limit (0 or 1) / Max stretch, in percent
stretchHardness / stretchSweepsHardness / Sweeps
stretchBodyLimit / strainRateLimitLimit where it touches the body (0 or 1) / Strain-rate limit (/s)
stretchLimitClearWithdraws one stretch-limit value: 0 Strain limit, 1 Max stretch, 2 Hardness, 3 Sweeps, 4 Limit where it touches the body, 5 Strain-rate limit
stretchPlasticOn / Threshold / Rate / MaxStretch Enable Plasticity (0 or 1) and its three amounts
bendPlasticOn / Threshold / Rate / MaxBend Enable Plasticity (0 or 1) and its three amounts (radians)
bendAnisoWarp / bendAnisoWeft / bendGrainAngleGrain: Warp Ratio / Weft Ratio / Grain Angle (degrees)
friction / gripFriction (Tnpix) / Grip (Tnpix)
stretchMul / edgeMul / bendMulThe three multipliers (1.0 = no change)