StyleSticks

StyleSticks(quality=3, radius=0.2, color_blur=False, shade_smooth=True)

Style class for Style Sticks

Parameters

Name Type Description Default
quality int A lower value results in less geometry, with a higher value meaning better looking but more dense geometry 3
radius float Radius of the sticks in Angstroms 0.2
color_blur bool Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating False
shade_smooth bool Apply smooth shading to the created geometry True

Methods

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

update_style_node

StyleSticks.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