Chapter 4 · The TnpixTool Interface
4.3Self Collision
| Function | Returns | What it does |
|---|---|---|
selfColLayers node | string | The garment list's layers as the panel shows them: the number of garments, then for each garment its node handle, its name, the layer it is simulated at, and set when the layer was typed in the list or auto when it comes from the Solver group's order. (no Tnpix Self Collision on this node) when the node has none. |
TnpixTool.selfColLayers $Shirt
-- for example: "3 garment(s) | h368 Shirt 0 auto | h412 Pants 1 auto | h883 Jacket 2 set"
The layers stored in the list are the Self Collision's member arrays (Chapter 3). A garment with no stored layer
takes its place in the Solver group's order, which selfColLayers reads from the garment's Solver.