
The Mesh Array From Directory node
When to use it
Point it at a folder of mesh files, press Scan Directory, and the whole folder arrives on one wire instead of forty loaders. From there Get Mesh Array Element reaches in for one, or a headless -mmrun -mmin sweep processes the folder one file at a time.
Pins
| Pin | Type | Description |
|---|---|---|
Array |
Mesh List | Every mesh in the folder on one wire, sorted the same way on every machine. |
Count |
Whole Number | How many slots the array has, empty ones included. |
FailedCount |
Whole Number | How many files would not import. Anything above zero means the batch is short. |
Settings
| Setting | Type | Description |
|---|---|---|
Source Directory |
Text | Full path to the folder you want to read. Nothing is ever written there. |
Extension Filter |
Text | Which file types to pick up, separated by semicolons and written without dots, like obj;fbx. Leave it empty to take everything readable. Upper or lower case makes no difference. |
Recursive |
True/False | Also look inside folders within the one you picked. |
Max Files |
Whole number | Stop after this many files. 0 means no limit. Worth setting when you are not certain whether that folder holds forty meshes or ten thousand. |
Failure Policy |
Choice | What happens when one file will not import. |
Use T0 Pose |
True/False | FBX only. Bring in the bind pose instead of the first frame of animation. |
Coordinate System |
Choice | Handedness the files were exported with. Pick the wrong one and every mesh arrives mirrored. OBJ and FBX only. |
Front Axis |
Choice | Which axis points forward in the source files. OBJ and FBX only. |
Up Axis |
Choice | Which axis points up in the source files. Get it wrong and the whole batch comes in lying on its side. OBJ and FBX only. |
OBJ Sections From |
Choice | Which statements split an OBJ into material sections. OBJ marks materials with usemtl, so parts that reuse one material - or name none - would otherwise arrive merged into a single section. OBJ only. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.