Metadata-Version: 2.1
Name: OMERO-3Dscript
Version: 0.0.3
Summary: OMERO.web app to animate multi-dimensional microscopy using 3Dscript, directly from within the OMERO environment.
Home-page: https://github.com/bene51/omero_3Dscript
Author: Benjamin Schmid
Author-email: bene.schmid@gmail.com
License: AGPL-3.0
Keywords: OMERO.web,3Dscript,animation,3D
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: GPU
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
Classifier: Topic :: Multimedia :: Video
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: omero-web (>=5.6.0)
Requires-Dist: pid

Usage:
======
* Open OMERO.web in the browser
* Open OMERO.3Dscript:
    * by clicking on '3Dscript' on the top links
    * right-click an image in the explorer and select 'Open with' -> '3Dscript'
* Enter the animation text (see https://bene51.github.io/3Dscript/ for more details)
* Click on 'Render'

Requirements:
=============
* OpenCL capable graphics card
* Updated drivers


Installation:
=============
OMERO.3Dscript needs to be installed on the machine that runs OMERO.web.

* Install Fiji and the 3Dscript and 3Dscript.server plugins.
```bash
    FIJI_HOME=/usr/local/share/Fiji.app
    mkdir $FIJI_HOME
    cd `dirname $FIJI_HOME`
    wget https://downloads.imagej.net/fiji/latest/fiji-linux64.zip
    unzip fiji-linux64.zip
    cd Fiji.app
    ./ImageJ-linux64 --update add-update-site 3Dscript https://romulus.oice.uni-erlangen.de/updatesite/
    ./ImageJ-linux64 --update update
    apt-get update && apt-get install -y -qq ffmpeg git vim > /dev/null
    cd $FIJI_HOME/jars
    wget -q https://github.com/ome/omero-insight/releases/download/v5.5.9/omero_ij-5.5.9-all.jar
    cd $FIJI_HOME/plugins
    wget -q https://bitbucket.org/bene51/omero_3dscript/downloads/3D_Animation_Server-0.1.jar
```
* Install OMERO.3Dscript
```bash
    pip install omero-3Dscript
```
* Add it to the OMERO.web UI:
```bash
    omero config append omero.web.apps '"omero_3Dscript"'
    omero config append omero.web.ui.top_links '["3Dscript", "3Dscript_index", {"title": "Open 3Dscript in a new tab", "target": "_blank"}]'
    omero config append omero.web.open_with '["3Dscript", "3Dscript_index", {"supported_objects": ["image"], "target": "_blank", "label": "3Dscript"}]'
```

* Restart OMERO.web as normal



