Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Create a mesh region from a molecule
ResourceFunction["MoleculeMeshRegion"][mol] returns a 3D MeshRegion constructed from mol. |
Create a molecule from a chemical name and convert it to a mesh region:
| In[1]:= |
| Out[1]= | ![]() |
Create a mesh region from a chemical entity:
| In[2]:= |
| Out[2]= | ![]() |
Supply a PlotTheme to control how the molecule is rendered:
| In[3]:= |
| Out[3]= | ![]() |
Specify a MeshCellStyle:
| In[4]:= | ![]() |
| Out[4]= | ![]() |
Combine the "Spacefilling" plot theme from MoleculePlot3D with the "SmoothShading" plot theme from MeshRegion:
| In[5]:= |
| Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License