On Sep 10, 11:11 am, Jonathan <gu...@uwosh.edu> wrote:
> If you are doing everything through Sage, would having Jmol print the
> rotation information to the web page be enough?

Possibly. That would result in essentially the same work-flow as
Sébastien's solution, but with less effort. If I were new to Sage I
would *expect* there to be a fully automatic method, where I can do
something along the lines of

scene1 = plot3d( ... )
scene2 = interactively_choose_camera_position(scene1)
scene2.show(renderer="myfavoriteone")

or

scene1 = plot3d(...)
jmol_view_object = view_with_jmol(scene1)
//prompt returns; some interaction with jmol window
scene2 = jmol_view_object.snapshot()
scene2.show(renderer="myfavoriteone")

where view_with_jmol and/or interactively_choose_camera_position would
probably be methods rather than functions. If the jmol app would
listen on stdin for "give camera postion" and then would output it on
stdout, then from the command line, the second approach would already
be implementable.

However, me expecting that is not the same as a lot of people using
that workflow frequently! So at this point I wouldn't be pushing
anyone to actually implement it.

It's good to know that technically people have an idea for how to
accomplish it and I suppose in general it would be instructive to have
the infrastructure in place to do this via command line and/or the
notebook.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to