Closed kitchoi closed 8 years ago
The Add-engine panel now looks like this (again, with branch refactor-engine-factory
)
User can add an engine to the panel in Mayavi2 by running a script (File->Run Python Script) like the one in examples/lammps_engine_example.py
(__file__
is not recognised at the moment https://github.com/enthought/mayavi/pull/284)
If the simphony-mayavi plugin is not loaded in Mayavi2, an error is shown.
@itziakos , @dpinte ready for review
Fix #142
This assumes that branch
refactor-engine-factory
#130 would be merged. Likely to cause clashes inplugin.py
andapi.py
with #134.Usage:
Save the following into a script and run it within Mayavi2.