Chapter 7 · Quick reference
7.7The toolbar
The TenPix Cloth toolbar has nine tools; each opens a window. When 3ds Max starts, the toolbar's own start-up script sets TenPixCloth_Dir to the folder of these scripts. If TenPix Cloth was installed without its toolbar, TenPixCloth_Dir is undefined: the tools cannot be opened by script, and nothing else in this guide needs them. Open a tool for the artist with tpaOpenTool:
global tpaOpenTool
-- open a TenPix toolbar tool for the artist, by its script name (the table below); returns what happened
fn tpaOpenTool script = (
if TenPixCloth_Dir == undefined or TenPixCloth_Dir == "" then "The TenPix toolbar's scripts are not loaded in this 3ds Max (TenPixCloth_Dir is undefined): ask the artist to open the tool from the toolbar, or to run the TenPix Cloth installer."
else if not (doesFileExist (TenPixCloth_Dir + script)) then ("Not found: " + TenPixCloth_Dir + script)
else ( fileIn (TenPixCloth_Dir + script); "Opened " + script )
)
-- tpaOpenTool "TenPix_03_CacheManager.ms"
| Tool | Script | What it does |
|---|---|---|
| Quick Cloth | TenPix_01_QuickCloth.ms |
Makes the selected meshes simulation-ready cloth |
| Cache Manager | TenPix_03_CacheManager.ms |
Adds, loads (always asks), saves and clears many garments' caches |
| Quality | TenPix_08_Quality.ms |
Applies the Solver presets or values to one Solver or many |
| Cloth Doctor | TenPix_07_ClothDoctor.ms |
Scans for silent set-up problems; fixes the ticked, safe ones |
| Tearing Sample | TenPix_09_TearingSample.ms |
Builds a ready-made tearing scene |
| Forces | TenPix_10_Forces.ms |
Lists every Tnpix Forces and the dials of its warps |
| Sim Profiler | TenPix_SimProfiler.ms |
Shows where each simulated frame spends its time |
| Quick Soft Body | TenPix_11_QuickSoftBody.ms |
Makes closed meshes into muscles or fats (experimental) |
| Batch Sim | TenPix_12_BatchSim.ms |
Runs a list of shots and saves every garment's cache per shot |