Select Page

Accessing MASH Point Data with the Maya API

Good news, MASH only uses Maya’s default data types, so all MASH data can be accessed via normal Maya APIs. Ordinarily this isn’t needed as MASH provides two built in ways to extract data: For the non scripter there’s the Breakout node, which can...

MASH API Examples

Maya 2017 Update 3 includes a new API to help quickly create MASH networks with Python. Below are 4 examples that will hopefully get you started. To use them, copy and paste the Python into the Script Editor, and then run the script. Python import MASH.api as mapi...

Shuffling MASH Points with the Python node

Say you want to create the above animation of random spokes moving about; to do this you’ll need to shuffle the MASH points, read on to find out why, and how. Let’s start with a grid distribution: As you can see, when MASH creates a grid distribution, all...

Multiple looping animations with the Instancer

The Time node in MASH is really useful for creating looping or offset animations inherited from an input model. Check out this tutorial for more on that. The problem is that the Time node is only available when MASH is creating an output mesh via the Repro node (this...

Getting Particle Positions with the MASH Python node

If for some reason you don’t want to plug your particle system directly into your MASH network you can get particle positions via the Python node like this. You’ll need to edit the name of the particle system in the Python script, but other then that, you...