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.
| Name | Panel control |
|---|---|
| stretchGoldK / bendGoldK | Stretch Stiffness / Bend Stiffness as one absolute number (also written to the coefficient and multiplier pair) |
| shearGoldK | Shear Stiffness |
| edgeK / warpK / weftK | Edge Stiffness / Stretch XX (warp) / Stretch YY (weft) |
| relDamp | Relative Damp (k relative) |
| damping | Global Damping |
| stretchDamp / dampRatioBend | Stretch Damping Ratio / Bend Damping Ratio |
| membraneCompress | Compression Stiffness |
| foldBody | Fold Body k_b, 0 to 100 |
| stretchDropoff / bendDropoff | Stiffness Dropoff (Stretch / Bend), 0 to 1 |
| restLengthScale / restAngleScale | Rest Length Scale / Rest Angle Scale |
| normalDrag / tangentDrag | Normal Drag / Tangent Drag; any value on tangentDragClear withdraws Tangent Drag |
| massKgM2 / massMode | Mass (kg/m2) / Mass Mode: 0 = Unchanged (value kept), other = Override |
| scaleMultiplier / scaleMultiplierMode | Scale Multiplier; scaleMultiplierMode 0 withdraws it |
| stretchType | Stretch 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 / nlWeftSoft | Fabric Curve: Warp / Weft soft until, in percent (0.1 to 100) |
| nlBiasLock | Fabric Curve: Bias lock, in degrees (1 to 80) |
| nlLockMul / nlSmooth | Fabric Curve: Lock stiffness (1 to 100,000; 1 = no curve) / Lock smoothness (0 to 2) |
| nlClear | Withdraws one Fabric Curve value, keeping the number: 0 Warp, 1 Weft, 2 Bias lock, 3 Lock stiffness, 4 Lock smoothness |
| strainLimitOn / maxStretch | Strain limit (0 or 1) / Max stretch, in percent |
| stretchHardness / stretchSweeps | Hardness / Sweeps |
| stretchBodyLimit / strainRateLimit | Limit where it touches the body (0 or 1) / Strain-rate limit (/s) |
| stretchLimitClear | Withdraws 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 / Max | Stretch Enable Plasticity (0 or 1) and its three amounts |
| bendPlasticOn / Threshold / Rate / Max | Bend Enable Plasticity (0 or 1) and its three amounts (radians) |
| bendAnisoWarp / bendAnisoWeft / bendGrainAngle | Grain: Warp Ratio / Weft Ratio / Grain Angle (degrees) |
| friction / grip | Friction (Tnpix) / Grip (Tnpix) |
| stretchMul / edgeMul / bendMul | The three multipliers (1.0 = no change) |