StyleSpheres

StyleSpheres(geometry='Point', radius=0.8, subdivisions=2, shade_smooth=True)

Style class for Style Spheres

Parameters

Name Type Description Default
geometry Any Show spheres as a Point Cloud, Instances of a mesh Icosphere, or realised Mesh instances of an Icosphere. Point cloud is best for performance and should definitely be used if rendering in Cycles. 'Point'
radius float Scale the vdw_radii of the atom when setting the radius of the spheres 0.8
subdivisions int Number of subdicisions when using Instances or Mesh to represent atoms 2
shade_smooth bool Apply smooth shading when using Instances or Mesh True

Methods

Name Description
update_style_node Update the Blender node inputs with values from this style’s attributes.

update_style_node

StyleSpheres.update_style_node(node_style)

Update the Blender node inputs with values from this style’s attributes.

Parameters

Name Type Description Default
node_style GeometryNodeGroup The Blender GeometryNodeGroup to update required