#12299: Advance Jmol Interactive Features in Flask Notebook
------------------------------------------------------------+---------------
Reporter: gutow | Owner:
jason, mpatel, was
Type: enhancement | Status:
needs_review
Priority: major | Milestone:
sage-5.2
Component: notebook | Resolution:
Keywords: Jmol, 3D, notebook | Work issues:
Report Upstream: Workaround found; Bug reported upstream. | Reviewers:
Karl-Dieter Crisman, Steven Trogdon, Punarbasu Purkayastha
Authors: Jonathan Gutow | Merged in:
Dependencies: #11080,#11078,#11503 | Stopgaps:
------------------------------------------------------------+---------------
Description changed by jhpalmieri:
Old description:
> This ticket provides the following advanced interactive features to Jmol
> in the notebook:
>
> 1. Initial display is a static image created by Jmol (if a javaVM is
> available on the server) or Tachyon. This means all browsers and devices
> will at least be able to see a 3-D image.
> 1. The live applet can be loaded by clicking on a "Make Interactive..."
> button.
> 1. Colors can be changed without recalculating
> 1. spin on checkbox
> 1. high quality checkbox
> 1. Meshes can be displayed without recalculating (no sparkles either :))
> 1. Transparency can be adjusted without recalculating
> 1. Applet size can be adjusted
> 1. Applet can be displayed in its own window
> 1. Can download a file that the Jmol application can open to recreate
> the exact view shown on the web page. This allows for more sophisticated
> manipulation and the semi-automatic creation of web pages that include
> this live 3-D image.
> 1. Solves memory problems associated with opening too many Jmols at
> once, by automatically putting Jmols that are not being used to sleep.
>
> '''If you just want to try:''' Go to [http://gutow.no-ip.org:8080
> TestServer] and create yourself an account. I will try to keep it up-to-
> date and running, but it may be down when I am coding.
>
> '''Explicit Installation Instructions:''' (tested against 5.0)
>
> 1) Install the flask notebook by following the instructions in #11080. I
> recommend installing the optional OpenSSL package. I have not been
> getting consistent behavior using the system install on all my different
> machines (probably a path issue).
>
> 2) Then do the following to apply the patches and install an updated
> version of Jmol. The first two commands close any Hg queues left open by
> the flask install (doesn't hurt to do that even if all the queues are
> closed).
> {{{
> ./sage
> sage: hg_sage("qfinish -a")
> sage: hg_sagenb("qfinish -a")
> sage: hg_sage.apply("http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12299/trac_12299_plot_3D_static_img.patch")
> sage: hg_sagenb.apply("http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12299/trac_12299_adv_jmol_nb.patch")
> sage: hg_sagenb.apply("http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12299/trac_12299_old_wksht.patch")
> sage: hg_sagenb.apply("http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12299/trac_12299_server_sync_and_UI.2.patch")
> sage: hg_sage.apply("http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12299/trac_12299_jmoldata_doctests.patch")
> sage: hg_sage.apply("http://trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12299/trac_12299_jmoldata_doctests2.patch")
> sage: hg_sage.apply("http//trac.sagemath.org/sage_trac/raw-
> attachment/ticket/12299/trac_12299-reviewer.patch")
> sage: exit
> ./sage -f
> "http://www.uwosh.edu/faculty_staff/gutow/jmol-12.3.27.p0.spkg"
> ./sage -b
> }}}
>
> '''Notes:'''
>
> If you are doing this in a different way you need to know:
>
> The development version of Jmol is necessary. Install this .spkg:
> http://www.uwosh.edu/faculty_staff/gutow/jmol-12.3.27.p0.spkg
>
> Six patches are necessary:
>
> A patch to plot3d in Sage: attachment:trac_12299_plot_3D_static_img.patch
>
> A patch to a number of files in sagenb:
> attachment:trac_12299_adv_jmol_nb.patch
>
> Patch so old worksheets with Jmol load without error (path fix):
> attachment:trac_12299_old_wksht.patch
>
> Server sync and UI tweaks patch:
> attachment:trac_12299_server_sync_and_UI.2.patch
>
> Complete doctest coverage in jmoldata.py:
> attachment:trac_12299_jmoldata_doctests.patch
> attachment:trac_12299_jmoldata_doctests2.patch
> attachment:trac_12299-reviewer.patch
>
> These patches include all the changes in #9238 plus.
New description:
This ticket provides the following advanced interactive features to Jmol
in the notebook:
1. Initial display is a static image created by Jmol (if a javaVM is
available on the server) or Tachyon. This means all browsers and devices
will at least be able to see a 3-D image.
1. The live applet can be loaded by clicking on a "Make Interactive..."
button.
1. Colors can be changed without recalculating
1. spin on checkbox
1. high quality checkbox
1. Meshes can be displayed without recalculating (no sparkles either :))
1. Transparency can be adjusted without recalculating
1. Applet size can be adjusted
1. Applet can be displayed in its own window
1. Can download a file that the Jmol application can open to recreate the
exact view shown on the web page. This allows for more sophisticated
manipulation and the semi-automatic creation of web pages that include
this live 3-D image.
1. Solves memory problems associated with opening too many Jmols at once,
by automatically putting Jmols that are not being used to sleep.
'''If you just want to try:''' Go to [http://gutow.no-ip.org:8080
TestServer] and create yourself an account. I will try to keep it up-to-
date and running, but it may be down when I am coding.
'''Explicit Installation Instructions:''' (tested against 5.0)
1) Install the flask notebook by following the instructions in #11080. I
recommend installing the optional OpenSSL package. I have not been
getting consistent behavior using the system install on all my different
machines (probably a path issue).
2) Then do the following to apply the patches and install an updated
version of Jmol. The first two commands close any Hg queues left open by
the flask install (doesn't hurt to do that even if all the queues are
closed).
{{{
./sage
sage: hg_sage("qfinish -a")
sage: hg_sagenb("qfinish -a")
sage: hg_sage.apply("http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/12299/trac_12299_plot_3D_static_img.patch")
sage: hg_sagenb.apply("http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/12299/trac_12299_adv_jmol_nb.patch")
sage: hg_sagenb.apply("http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/12299/trac_12299_old_wksht.patch")
sage: hg_sagenb.apply("http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/12299/trac_12299_server_sync_and_UI.2.patch")
sage: hg_sage.apply("http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/12299/trac_12299_jmoldata_doctests.patch")
sage: hg_sage.apply("http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/12299/trac_12299_jmoldata_doctests2.patch")
sage: hg_sage.apply("http://trac.sagemath.org/sage_trac/raw-
attachment/ticket/12299/trac_12299-reviewer.patch")
sage: exit
./sage -f "http://www.uwosh.edu/faculty_staff/gutow/jmol-12.3.27.p0.spkg"
./sage -b
}}}
'''Notes:'''
If you are doing this in a different way you need to know:
The development version of Jmol is necessary. Install this .spkg:
http://www.uwosh.edu/faculty_staff/gutow/jmol-12.3.27.p0.spkg
Six patches are necessary:
A patch to plot3d in Sage: attachment:trac_12299_plot_3D_static_img.patch
A patch to a number of files in sagenb:
attachment:trac_12299_adv_jmol_nb.patch
Patch so old worksheets with Jmol load without error (path fix):
attachment:trac_12299_old_wksht.patch
Server sync and UI tweaks patch:
attachment:trac_12299_server_sync_and_UI.2.patch
Complete doctest coverage in jmoldata.py:
attachment:trac_12299_jmoldata_doctests.patch
attachment:trac_12299_jmoldata_doctests2.patch
attachment:trac_12299-reviewer.patch
These patches include all the changes in #9238 plus.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12299#comment:101>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.