StyleSurface
StyleSurface(
quality=3,
scale_radius=1.5,
probe_size=1.0,
relaxation_steps=10,
separate_by='chain_id',
group_id=0,
color_source='Alpha Carbon',
color_blur=2,
shade_smooth=True,
)
Style class for Style Surface
Parameters
| quality |
int |
A lower value results in less geometry, with a higher value meaning better looking but more dense geometry |
3 |
| scale_radius |
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 |
| relaxation_steps |
int |
Number of times smoothening is applied to the generate surface stretched between the atoms |
10 |
| separate_by |
Any |
Value for Separate By |
'chain_id' |
| group_id |
int |
Value for Group ID |
0 |
| color_source |
Any |
Value for Color Source |
'Alpha Carbon' |
| color_blur |
int |
Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating |
2 |
| shade_smooth |
bool |
Apply smooth shading to the created geometry |
True |
Methods
| update_style_node |
Update the Blender node inputs with values from this style’s attributes. |
update_style_node
StyleSurface.update_style_node(node_style)
Update the Blender node inputs with values from this style’s attributes.