Magma particle partitioning

I attach a BLOP that you can use to split your dataset into N partitions using every N particle approach with Magma modifier.
For optimal results you can use larger number of partitions on a multicore machine. On a 16-core 12-16 partitions probably would be optimal.

Sources:

  • Large PRT file

Results

  • Multiple PRT files (partitions) with every N particle saved in each one.

Usage:

  1. Place downloaded BLOP in krakatoa BLOPs folder
  2. Create PRT Loader on the stage at origin
  3. Add your PRT file
  4. Add Magma modifier in stack
  5. Edit Magma, add Partition BLOP and pipe it to Selection channel output
  6. Using exposed controls in Magma modifier set the number of partitions you want to split the file into
  7. Add Krakatoa Delete modifier on top of the stack (at least above Magma) with default settings (no soft selection)
  8. Iterate through partitions saving each one to file
    –> Set exposed iterator to 1
    –> Save particles to file
    –> Increase iterator
    –> Save
    –> etc…
  9. Replace single PRT file with N created partitions in your PRT loader.

Hope it is helpful.
Magma_Partition_BLOP.zip (1.11 KB)