Style
Style Spheres
Space filling atomic spheres scaled based on their vdw_radii
attribute. By default they are Point Clouds which don’t render well inside of EEVEE, but are extremely fast to render and manipulate inside of Cycles. To show the atoms inside of EEVEE you can enable the As Mesh
input which realises them into real geometry
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Sphere As Mesh |
False | Create real geometry by instancing and realising icospheres. By default this is disabled and the points are a Point Cloud |
Sphere Radii |
0.8 | Scale the vdw_radii of the atom when setting the radius of the spheres |
Sphere Subdivisions |
2 | Subdivisions for Eevee compatible atoms. |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Cartoon
Peptide helices and sheets are emphasized with the ‘traditional’ cartoon style. Secondary structure becomes distinct and nucleic acids become a simplified representation. The node also includes an option to calculate secondary structure by enabling the DSSP
input, but this will differ to secondary structure imported from structures from the PDB.
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
2 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
DSSP |
False | Use the DSSP algorithm to compute the sec_struct attribute |
Cylinders |
False | Use cylinders for helices instead of ribbons |
Arrows |
True | User arrows for sheets |
Rounded |
False | Create rounded sheets and helices |
Thickness |
0.6 | Thickness for the sheets and helices |
Width |
2.2 | Width for the sheets and helices |
Loop Radius |
0.3 | Radius of the loops for unstructure regions |
Smoothing |
0.5 | Smoothing to apply to sheets |
Color Blur |
True | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Ribbon
A simplified tube that through the alpha carbons of the protein. Controls for the raadius and smoothing of sheets are available.
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
3 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Radius |
1.6 | |
Smoothing |
0.5 | Smoothen the sheet ribbons such as beta-sheets |
Color Blur |
True | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Surface
The vdw_radii
and a probe are used to calculate the surface of the molecule. This is still a close approximation of other surface generation algorithms and won’t match those made by PyMol and ChimeraX exactly. Coloring of the surface is by default done by sampling the closest alpha carbon, but this can be disabled to use the closest atom for coloring the mesh
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
The resulting geometry of the style. Each chain is a separate instance. | Instances |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
3 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Separate |
True | Whether to create separate surfaces, based on the ‘Attribute’ name |
Attribute |
chain_id | Attribute to separate the surface by |
Scale Radii |
1.5 | Scale the VDW radii of the atoms when creating the surface |
Probe Size |
1.0 | Size of the probe that is used to check for solvent accessibility (Angstroms) |
Triangulate |
False | Whether to triangulate the resulting mesh. Can help reduce shading problems |
Relaxation Steps |
10 | Number of times smoothening is applied to the generate surface stretched between the atoms |
Color by CA |
True | Only take colors from CA atoms (or similar in nucleic acids) |
Color Blur |
2 | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Ball and Stick
Shows the atoms and bonds. The bonds are cylinders between the atoms, which can be split apart for double and triple bonds if the information is within the structure on import. Spheres can be displayed as mesh of as Point Cloud as with the Style Sheres
node. Bonds can also be calculated if none are present, but this is approximate and purely distance based so should not be relied upon
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Quality |
2 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Sphere As Mesh |
True | Render spheres as real mesh geometry instead of point clouds |
Sphere Radii |
0.3 | Scale the vdw_radii attribute before setting the radius for the spheres |
Bond Split |
False | Split apart double and triple bonds visually |
Bond Find |
False | Find possible bonds for the selected atoms based on a distance search. Unselected atoms maintain any bonds they already have. Bonds that are found are all treated as single bonds |
Bond Radius |
0.3 | Set the radius for the generated bonds in Angstroms |
Color Blur |
False | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Sticks
Each bond terminates cleanly in a half sphere for a typical stick representation of the atoms and bonds
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
2 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Radius |
0.2 | Radius of the sticks in Angstroms |
Color Blur |
False | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Preset 1
Quickly switch between several different pre-made preset styles. Best used when using MolecularNodes via scripts, ensuring all atoms are displayed using a combination of cartoons and atoms.
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
3 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Color Blur |
False | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Preset 2
Quickly switch between several different pre-made preset styles. Best used when using MolecularNodes via scripts, ensuring all atoms are displayed using a combination of cartoons and atoms.
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
3 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Color Blur |
False | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Preset 3
Quickly switch between several different pre-made preset styles. Best used when using MolecularNodes via scripts, ensuring all atoms are displayed using a combination of cartoons and atoms.
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
3 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |
Style Preset 4
Quickly switch between several different pre-made preset styles. Best used when using MolecularNodes via scripts, ensuring all atoms are displayed using a combination of cartoons and atoms.
Outputs
Description | Socket |
---|---|
The generated geometry for the style node group | Geometry |
Inputs
Socket | Default | Description |
---|---|---|
Atoms |
None | Atomic geometry that contains vertices and edges |
Selection |
True | Selection of atoms to apply this style to, discarding unselected points |
Quality |
3 | A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
Color Blur |
True | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
Shade Smooth |
True | Apply smooth shading to the created geometry |
Material |
None | Material to apply to the resulting geometry |