openworm / org.geppetto

Geppetto is an open-source platform to build web-based applications to visualize and simulate neuroscience data and models.
http://geppetto.org
Other
209 stars 50 forks source link

Add a servlet to generate a Geppetto project to load supported formats #499

Closed tarelli closed 6 years ago

tarelli commented 8 years ago

Similarly to load_project _from_url the servlet load_file could generate a Geppetto project and a geppetto model to load a supported model inside geppetto. This could be used to load an NWB file, an OBJ, a Collada, a NeuroML, etc. The user wouldn't have to worry about creating a project or anything, they'd just point the servlet to their external file. This would enable to use Geppetto as a simple viewer.

The project generated can be different for the different types. For instance for an NWB file we want to show by default an opened control panel filtered by all the sweeps. For an OBJ or a Collada file we want to show the 3D model centered in the scene, etc. We should probably have a template for each supported format and such template should probably live inside the model bundle of that format along with a service to retrieve it.

Optionally: We could add in the dashboard a special project where you can drag and drop a file which then gets uploaded and visualized.

Bonus task

The above to be used will require going to such URL;

http://live.geppetto.org/load_project_from_url?url=http://live.geppetto.org/generate_project?model=http://dropbox/myColladaModel.dae

The above URL could be generated through a UI:

Design

Image

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.