scotthartley / blmol

A script for importing molecular geometries into Blender
MIT License
32 stars 8 forks source link

Adding support for Si #4

Closed kealanf closed 6 years ago

kealanf commented 6 years ago

Hey! Love this script! Any chance you could include support for silicon? I tried adding it to the ATOMIC_NUMBERS, ELEMENT_COLORS and RADII arrays but I still get the error

File "<blender_console>", line 1, in <module>
  File "/Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/blmol.py", line 556, in read_pdb
KeyError: 'SI'

Thanks for your help!

kealanf commented 6 years ago

Closing blender and re-importing the script got it working! Sorry to bother you!

scotthartley commented 6 years ago

No problem. Glad you got it working!