3Dmol.js
3Dmol.js copied to clipboard
Show unit cell axis separately and keep the origin of the lattice vectors on a fixed point on the screen
When I have a CIF file to visualize, I want the lattice vectors shown but not attached to the unit cell. Currently I think we can have something like this, but I do want to separate out the lattice vectors to another spot on the screen and I want to keep the origin of the lattice vectors fixed, independent from any rotations and panning of the main structure configuration.
Also, if possible, I want the zooming and panning of the lattice vectors independent from the main configuration. This is considered as a further improvement to the requested feature above but I think having the capability requested in the first paragraph will be very helpful.
I'm having trouble understanding what is being requested and why it would be desireable. What would be the point of showing the lattice vectors if they aren't at the origin and aren't oriented correctly with respect to the molecule?
Can you reference the behavior of some other visualization program so I understand what you are asking for?
Here is the intended behavior, which is in Vesta,
https://www.dropbox.com/scl/fi/kolt02cottlhe1459g8fz/20231211141310955.gif?rlkey=hrm3ixuer0r7p2of3k8s3mxnv&dl=0
Okay, I see what you want. You want the ability for objects to have their position and scale to be independent of the model view, while keeping their rotation synchronized so you can have an off-to-the-side axes. This is a pretty heavy lift, so this issue will likely remain open for a while.
sure thing. I totally understand the potential efforts needed about this request. I will keep an eye on this and thank you so much!