nglviewer / nglview

Jupyter widget to interactively view molecular structures and trajectories
http://nglviewer.org/nglview/latest/
Other
820 stars 134 forks source link

bonds not shown in ball and stick for large structures #1008

Open setten opened 2 years ago

setten commented 2 years ago

For large structures the bonds are not shown anymore. I tried to dig into this to find a solution but can't find it. Is there a parameter that sets the maximum number of atoms for which they are show maybe?

hainm commented 2 years ago

For large structures the bonds are not shown anymore. I tried to dig into this to find a solution but can't find it. Is there a parameter that sets the maximum number of atoms for which they are show maybe?

hi @setten: can you please show an example to reproduce?

zhenyu2025 commented 10 months ago

hi @hainm , I have the same problem with large structures. render in nglview:

image

render in VESTA:

image

cif file (please modify the extsions from txt to cif):

last_molecule_r_0-pos-1.txt