Plugin module

This module simphony_mayavi.plugin provides a set of tools to visualize CUDS objects. The tools are also available as a visualisation plug-in to the simphony library.

simphony_mayavi.show.show(cuds)[source]

Show the cuds objects using the default visualisation.

Parameters:cuds – A top level cuds object (e.g. a mesh). The method will detect the type of object and create the appropriate visualisation.
simphony_mayavi.snapshot.snapshot(cuds, filename)[source]

Shave a snapshot of the cuds object using the default visualisation.

Parameters:
  • cuds – A top level cuds object (e.g. a mesh). The method will detect the type of object and create the appropriate visualisation.
  • filename (string) – The filename to use for the output file.