Chapter 3 · Modifier Properties
3.12Tnpix_Stitch
Panel name Tnpix Stitch · also reachable as TnpixStitch
Holds cloth to cloth on the same Solver, or to its own folded parts. Stitches form when the simulation starts.
| Property | Type | A | Default | Range | Description |
|---|---|---|---|---|---|
tnEnabled | boolean | true | On/off. | ||
stitchTo | node array | empty | The garments to stitch to; each must be on this cloth's Solver. Append to it. | ||
stitchToSelf | boolean | false | Also stitch to this cloth's own folded-close parts. | ||
searchDistance | float (distance) | 0.5 inch† | 0.0 – 100,000 | How far a painted point looks for a surface, in scene units. A new modifier takes 0.5 inch in the scene's unit. | |
tightness | float | 1.0 | 0.0 – 1.0 | 1 = sewn onto the surface, 0 = keeps the starting gap (a rigid tack). | |
strength | float | 1.0 | 0.0 – 1.0 | How rigid the hold is: about 0.5 holds, 0.8 and above is sewn shut. | |
channel | string | "" | The painted channel that says where stitching is allowed. | ||
threshold | float | 0.5 | 0.001 – 1.0 | Paint at or above this value stitches. | |
showStitches | boolean | true | Draw the stitches while the Stitch panel is open. | ||
seamPasses | float | 1.0 | 1.0 – 10.0 | Solver passes for the seam each step; whole numbers (fractions are rounded). | |
stitchToHandles | integer array | empty | Storage: the targets by node handle, as the panel keeps them. Write stitchTo, not this. | ||
offset | float (distance) | 0.0 | 0.0 – 100,000 | A gap, in scene units, the seam keeps between the two cloths (this cloth keeps it). | |
activeTime | boolean | false | true = the stitch holds only from activeFrom to activeTo. | ||
activeFrom | integer | 0 | -100,000 – 100,000 | First frame the stitch holds; the pairs are found where the cloths are on this frame. | |
activeTo | integer | 100 | -100,000 – 100,000 | Last frame the stitch holds. | |
zoneOn | boolean | false | Active Zone: a stitch pulls only while the zone reaches its seam, with its strength times the zone's value there. Works inside the Active time. | ||
zoneHelpers | node array | empty | The Influence Helpers that make the zone. Empty with zoneOn = no stitch pulls. | ||
zoneStay | boolean | true | Stays sewn once touched (the default): a stitch the zone has reached keeps pulling - a zipper. false = only the stitches inside the zone now. | ||
zoneInvert | boolean | false | Invert: a stitch pulls where the zone does NOT reach its seam (its strength times one minus the zone's value). With zoneStay, a stitch the helper has touched lets go for good. Empty zoneHelpers = every stitch pulls. | ||
slide | boolean | false | true = the stitched points stay on the surface they are sewn to, at the stitch's gap, but can slide along it. | ||
friction | float | 0.3 | 0.0 – 1.0 | How hard the sliding is: 0 slides freely, 1 does not slide. Used while slide is true. |