bakeInstancer.commands module

bakeInstancer.commands.bake(instancerName, start, end, progress=None)

Process an instancer node over the specified frame range, reading the positions and objects. With this data objects are duplicated and positioned to mimic the instancer. With the particle data individual objects can be matched over the different frames and animated. When a particle “dies”, the visibility is turned off.

Parameters:
  • instancerName (str) – Name if the instancer to bake
  • start (int) – Start frame
  • end (int) – End frame
  • progress (QProgressBar) – Update ui ( Optional )
Returns:

Group that contains all of the baked information

Return type:

str

Raises:
  • RuntimeError – When the instancer doesn’t exist
  • RuntimeError – When there are no particles attached