Bio3DView.jl
Bio3DView.jl copied to clipboard
Question get/set protein orientation
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.
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.