StyleCartoon
StyleCartoon(
quality=2,
peptide_dssp=False,
peptide_cylinders=False,
peptide_arrows=True,
peptide_rounded=False,
peptide_thickness=0.6,
peptide_width=2.2,
peptide_loop_radius=0.3,
peptide_smoothing=0.5,
backbone_shape='Cylinder',
nucleic_width=3.0,
nucleic_thickness=1.0,
nucleic_radius=2.0,
base_shape='Rectangle',
base_realize=False,
color_blur=True,
shade_smooth=True,
)Style class for Style Cartoon
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 |
| peptide_dssp | bool | Use the DSSP algorithm to compute the sec_struct attribute |
False |
| peptide_cylinders | bool | Use cylinders for helices instead of ribbons | False |
| peptide_arrows | bool | User arrows for sheets | True |
| peptide_rounded | bool | Create rounded sheets and helices | False |
| peptide_thickness | float | Thickness for the sheets and helices | 0.6 |
| peptide_width | float | Width for the sheets and helices | 2.2 |
| peptide_loop_radius | float | Radius of the loops for unstructure regions | 0.3 |
| peptide_smoothing | float | Smoothing to apply to sheets | 0.5 |
| backbone_shape | Any | Value for Backbone Shape | 'Cylinder' |
| nucleic_width | float | Value for Nucleic Width | 3.0 |
| nucleic_thickness | float | Value for Nucleic Thickness | 1.0 |
| nucleic_radius | float | Value for Nucleic Radius | 2.0 |
| base_shape | Any | Value for Base Shape | 'Rectangle' |
| base_realize | bool | Value for Base Realize | False |
| color_blur | bool | Interpolate between colors when enabled. When disabled the faces will take their color from their corresponding atom without interpolating | True |
| shade_smooth | bool | Apply smooth shading to the created geometry | True |