Bio3DView.jl icon indicating copy to clipboard operation
Bio3DView.jl copied to clipboard

Question get/set protein orientation

Open abahm opened this issue 4 years ago • 1 comments

Bio3DView is a fantastic package - thank you so much for adding it to BioStructures!

Is there any way to get the orientation of the molecule (Euler angles or camera coordinates or ...)? If that could be added as a feature, that would be really helpful.

abahm avatar Oct 03 '20 14:10 abahm

Bio3DView is a fantastic package - thank you so much for adding it to BioStructures!

Glad you like it.

Is there any way to get the orientation of the molecule

Currently you can set the camera angle, see the last example in the tutorial notebook, but getting the current angle back isn't implemented. I don't think I'll have time to add the feature myself.

If you wanted to though the place to look would be the getView() function in 3Dmol (http://3dmol.csb.pitt.edu/doc/$3Dmol.GLViewer.html). You could try adding that to the view function, or try using it directly in the web console in Blink or a web browser.

jgreener64 avatar Oct 05 '20 16:10 jgreener64