Style

Spheres

Style to apply the traditional space-filling atomic representation of atoms. Spheres are scaled based on the vdw_radii attribute. By default the Point Cloud rendering system is used, which is only visible inside of Cycles.

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges required
Selection Bool Selection of atoms to apply this style to True
Sphere As Mesh Bool Use Eevee or Cycles compatible atoms. False
Sphere Radii Float Scale the vdw_radii of the atoms. 0.8
Sphere Subdivisions Int Subdivisions for Eevee compatible atoms. 2
Shade Smooth Bool Apply smooth shading to the created geometry True
Material Material Material to apply to the resulting geometry MN Default

Outputs

Name Type Description Default
Geometry Geometry required

Cartoon

Style to apply the traditional cartoon representation of protein structures. This style highlights alpha-helices and beta-sheets with arrows and cylinders.

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges required
Selection Bool Selection of atoms to apply this style to True
Quality Int Number of subdivisions, ‘quality’ of the cartoon. 2
DSSP Bool Use the DSSP algorithm to compute the sec_struct attribute False
Cylinders Bool Use cylinders for helices instead of ribbons False
Arrows Bool User arrows for sheets True
Rounded Bool Create rounded sheets and helices False
Thickness Float Thickness for the sheets and helices 0.6
Width Float Width for the sheets and helices 2.2
Loop Radius Float Radius of the loops for unstructure regions 0.4
Smoothing Float Smoothing to apply to sheets 0.5
Color Blur Bool Smoothly interpolate between the different color values, or have each bit of geometry be cleanly one color or another True
Shade Smooth Bool Apply smooth shading to the created geometry True
Material Material Material to apply to the resulting geometry MN Default

Outputs

Name Type Description Default
Geometry Geometry The resulting cartoon geometry, calculated from the given atoms, selection and parameters required

Ribbon

Style that creates a continuous solid ribbon or licorice tube through the backbones of peptides and nucleic acids.

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges required
Selection Bool Selection of atoms to apply this style to True
Quality Int 3
Radius Float 1.6
Smoothing Float Smoothen the sheet ribbons such as beta-sheets 0.5
Color Blur Bool True
Shade Smooth Bool Apply smooth shading to the created geometry True
Material Material Material to apply to the resulting geometry MN Default

Outputs

Name Type Description Default
Geometry Geometry required

Surface

Style that creates a surface representation based on the proximity of atoms to a probe that is moved through the entire structure.

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges required
Selection Bool Selection of atoms to apply this style to True
Quality Int Quailty of the surface to generate 3
Separate Bool Whether to create separate surfaces, based on the ‘Attribute’ name True
Attribute String Attribute to separate the surface by chain_id
Scale Radii Float Scale the VDW radii of the atoms when creating the surface 1.5
Probe Size Float Size of the probe that is used to check for solvent accessibility (Angstroms) 1.0
Triangulate Bool Whether to triangulate the resulting mesh. Can help reduce shading problems False
Relaxation Steps Int 10
Color by CA Bool Only take colors from CA atoms (or similar in nucleic acids) True
Color Blur Int When coloring the surface, blur colors from nearby atoms 2
Shade Smooth Bool Apply smooth shading to the created geometry True
Material Material Material to apply to the resulting geometry MN Default

Outputs

Name Type Description Default
Geometry Geometry The resulting geometry of the style. All chains are a single mesh. required
Instances Geometry The resulting geometry of the style. Each chain is a separate instance. required

Ball and Stick

Style that creates cylinders for bonds and spheres for atoms. The atoms can be either Eevee or Cycles compatible, with customisation to resolution and radius possible.

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges required
Quality Int 2
Selection Bool Selection of atoms to apply this style to True
Sphere As Mesh Bool Render spheres as point clouds True
Sphere Radii Float Scale the sphere radii 0.3
Bond Find Bool Find possible bonds for the selected atoms based on a distance search. Unselected atoms maintain any bonds they already have False
Bond Radius Float 0.3
Color Blur Bool False
Shade Smooth Bool Apply smooth shading to the created geometry True
Material Material Material to apply to the resulting geometry MN Default

Outputs

Name Type Description Default
Geometry Geometry required

Sticks

Style that creates a cylinder for each bond. Cylindrical caps to the cylinders are currently not supported. Best to use Style Ball and Stick.

Inputs

Name Type Description Default
Atoms Geometry Atomic geometry that contains vertices and edges required
Selection Bool Selection of atoms to apply this style to True
Quality Int 2
Radius Float 0.2
Color Blur Bool False
Shade Smooth Bool Apply smooth shading to the created geometry True
Material Material Material to apply to the resulting geometry MN Default

Outputs

Name Type Description Default
Geometry Geometry required

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.

Inputs

Name Type Description Default
Atoms Geometry required
Selection Bool True
Quality Int 3
Color Blur Bool False
Shade Smooth Bool True
Material Material MN Default

Outputs

Name Type Description Default
Geometry Geometry required

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.

Inputs

Name Type Description Default
Atoms Geometry required
Selection Bool True
Quality Int 3
Color Blur Bool False
Shade Smooth Bool True
Material Material MN Default

Outputs

Name Type Description Default
Geometry Geometry required

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.

Inputs

Name Type Description Default
Atoms Geometry required
Selection Bool True
Quality Int 3
Shade Smooth Bool True
Material Material MN Default

Outputs

Name Type Description Default
Geometry Geometry required

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.

Inputs

Name Type Description Default
Atoms Geometry required
Selection Bool True
Quality Int 3
Color Blur Bool True
Shade Smooth Bool True
Material Material MN Default

Outputs

Name Type Description Default
Geometry Geometry required