Chapter 3 · Modifier Properties

3.13Tnpix_Tear

Panel name Tnpix Tear · also reachable as TnpixTear

Tearing by painted region, by stretch or by pressure. On a shared Solver the Solver group's tearBy, threshold, ends and weakness range come from the first member, in creation (handle) order, that has an enabled Tear.

PropertyTypeADefaultRangeDescription
tnEnabledbooleantrueOn/off. Off, the cloth simulates whole.
tearByinteger00 – 20 = Map, 1 = Stretch, 2 = Pressure (needs a Tnpix Volume on the same stack).
channelNamestring""The painted channel: where the cloth may tear (Map, Pressure) and where it is weaker (all three). Empty under Map or Pressure = nothing tears.
markedAbovefloat0.50.0 – 1.0Paint at or above this value belongs to the region.
endsinteger00 – 10 = both ends of an edge must be marked, 1 = either end is enough.
thresholdfloat10.00.0 – 1,000,000Map: the pull an edge takes before it opens. Pressure: the bursting pressure. Not used by Stretch. Not converted by the scene's unit.
weakMinfloat1.00.01 – 10.0Weakness at the lightest marked paint (multiplies the pull or the stretch).
weakMaxfloat1.00.01 – 10.0Weakness at full paint.
calibSubstepsinteger00 – 100,000The Solver's Substeps (the panel's number) the threshold was typed at, written by the panel; 0 = not recorded. A label: nothing computes from it.
calibIterationsinteger00 – 100,000The Solver iterations the threshold was typed at (see calibSubsteps).
growRingsinteger00 – 8Points within this many edges of a painted point count as painted.
stretchRatiofloat0.10.001 – 100.0Stretch mode: how much longer an edge may get before it tears, as a part of its length (0.1 = 10 percent).
zoneOnbooleanfalseActive Zone: a point may tear only where the zone reaches it (anywhere inside a helper's Far radius).
zoneHelpersnode arrayemptyThe Influence Helpers that make the zone. Empty with zoneOn = nothing tears.
zoneStaybooleantrueStays active once touched: a point the zone has reached stays able to tear after the zone moves on.
zoneTimebooleanfalsetrue = the zone works only from zoneFrom to zoneTo.
zoneFrominteger0-100,000 – 100,000First frame the zone works.
zoneTointeger100-100,000 – 100,000Last frame the zone works.
zoneInvertbooleanfalseInvert: a point may tear where the zone does NOT reach (beyond a helper's Near radius), inside the zone's time. With zoneStay, a point the helper has covered never tears. Empty zoneHelpers = every marked point may tear.