Skip to content

Default values for MN nodes #416

Answered by BradyAJohnston
rbdavid asked this question in Q&A
Discussion options

You must be logged in to vote

changing those defaults will change the defaults for the nodes, yes.

There are currently two places where colors are set up. The default values for when the nodes are used, are defined inside of the .blend file. On import, colors are also applied to the mesh itself, based on the atomic number of the atoms. This is so, if a node to specify color isn't used, there will still be a default color to fall back on. Those are defined here:

iupac_colors_rgb = {
"H": (255, 255, 255), # Hydrogen
"He": (217, 255, 255), # Helium
"Li": (204, 128, 255), # Lithium
"Be": (194, 255, 0), # Beryllium
"B": (255

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@rbdavid
Comment options

@BradyAJohnston
Comment options

@rbdavid
Comment options

@BradyAJohnston
Comment options

@rbdavid
Comment options

Answer selected by rbdavid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants