StyleBallAndStick
StyleBallAndStick(self,
=2,
quality='Instance',
sphere_geometry=0.3,
sphere_radius=False,
bond_split=0.3,
bond_radius=False,
bond_find=1.0,
bond_find_scale=False,
color_blur=True,
shade_smooth )
Style class for Style Ball and Stick
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 | 2 |
sphere_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. | 'Instance' |
sphere_radius | float | Scale the vdw_radii attribute before setting the radius for the spheres |
0.3 |
bond_split | bool | Split apart double and triple bonds visually | False |
bond_radius | float | Set the radius for the generated bonds in Angstroms | 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. Bonds that are found are all treated as single bonds | False |
bond_find_scale | float | Scale the VDW radii of the atoms when searching for bonds | 1.0 |
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 |