ngl icon indicating copy to clipboard operation
ngl copied to clipboard

Easy way to set/update unitcell's color?

Open hainm opened this issue 6 years ago • 5 comments

Hi,

This question was raised in nglview a while ago but I don't know how. Any idea how? thanks and cheers.

PS: In NGL's webapp, I see the blue color (vs the default orange) if turning on the debug mode. Screen Shot 2019-07-28 at 1 44 14 AM

hainm avatar Jul 28 '19 05:07 hainm

The debug mode does not show the unitcell it is just a bounding box of the graphical elements (and its color is hardcoded).

The color of the unitcell representation can be changed via the representation params as usual.

arose avatar Jul 29 '19 00:07 arose

The color of the unitcell representation can be changed via the representation params as usual.

@arose I am not sure if this works (yet). Please see the screenshot Screen Shot 2019-07-28 at 11 30 01 PM

PS: Also tried with nglview Screen Shot 2019-07-28 at 11 32 42 PM

hainm avatar Jul 29 '19 03:07 hainm

set colorScheme to uniform

arose avatar Jul 29 '19 06:07 arose

don't work either.

1

hainm avatar Jul 29 '19 14:07 hainm

hmm, than it is a bug (or missing feature)

arose avatar Jul 29 '19 16:07 arose