Closed kitchoi closed 8 years ago
I have updated the GUI. To test it, check out the add-engine-source branch and try this:
from simphony_mayavi.plugins.api import EngineManagerStandaloneUI
from simphony_mayavi.sources.tests import testing_utils
engine = testing_utils.DummyEngine()
manager = EngineManagerStandaloneUI("test", engine)
manager.show_config()
I have added a mayavi2 plugin so that a panel view can be added in Mayavi2 and the user can add engine via the python shell in Mayavi. However, this plugin requires envisage to be included in the setup requirement.
merged #110
I added a![engine_source_manager](https://cloud.githubusercontent.com/assets/3673984/11981733/25d1f134-a99d-11e5-93b3-765ba98abbf7.png)
EngineSource
(similar toCUDSFileSource
) for handling datasets from a simphony modeling engine. Then I added aEngineSourceManager
for visualisation and basic operations of the engine. The screenshot below is theEngineSourceManager
in action. (I actually used it on an engine fromsimphony-lammps
)@dpinte, @itziakos, the new feature is currently available in the branch
add-engine-source
. I still need to add more tests and documentation before I can make a PR. At the moment I would like to solicit feedbacks.If you could check out the branch, there is a dummy engine so you can experiment with the following:
If you dig into the code you will find some in-function imports. That's because I intend to make it available as a plugin in Mayavi (ref)
Please let me know if you have any comments/suggestions.