Chapter 3 · Modifier Properties

3.10Tnpix_Pin

Panel name Tnpix Pin · also reachable as TnpixPin

Holds a painted region in place or on an object. TnpixTool.pinSet sets channel, weight and object in one undoable call.

PropertyTypeADefaultRangeDescription
tnEnabledbooleantrueOn/off.
channelstring""The painted channel this pin holds; empty = holds nothing. A Tnpix_Soft_Body or Tnpix_Volume with a channel above the pin on the stack lets go of the points it paints.
weightfloatA1.00.0 – 1.0The follow fraction: 1 = follows 100 percent, 0.5 = 50 percent. Below 1 is a soft pin.
followObjectnodeundefinedThe object the pinned points follow; undefined = held in place.
activeTimebooleanfalsetrue = the pin holds only from activeFrom to activeTo.
activeFrominteger0-100,000 – 100,000First frame the pin holds.
activeTointeger100-100,000 – 100,000Last frame the pin holds; before activeFrom the pin never activates.
reachfloat0.00.0 – 1,000,000Scene units: painted points farther than this from the object when the pin takes hold stay free. 0 = any distance.
minPiecefloat1.00.0 – 100.0Percent of the cloth's faces: a torn piece smaller than this lets go of the pin. 0 = never.
dynamicbooleanfalsetrue = the pinned points keep their mass and the pin pulls them; false = the object moves them directly.
zoneOnbooleanfalseActive Zone: the pin holds a painted point only while the zone reaches it, with its weight times the zone's value there. Works inside the Active time.
zoneHelpersnode arrayemptyThe Influence Helpers that make the zone. Empty with zoneOn = the pin holds nothing.
zoneStaybooleanfalseStays held once touched: a point the zone has reached stays held until the Active time ends. false (the default) = only the points inside the zone now.
zoneInvertbooleanfalseInvert: the pin holds where the zone does NOT reach (its weight times one minus the zone's value). With zoneStay, a point the helper has touched stays let go. Empty zoneHelpers = every painted point is held.