StyleCartoon
StyleCartoon(self,
=2,
quality=False,
peptide_dssp=False,
peptide_cylinders=True,
peptide_arrows=False,
peptide_rounded=0.6,
peptide_thickness=2.2,
peptide_width=0.3,
peptide_loop_radius=0.5,
peptide_smoothing='Cylinder',
backbone_shape=3.0,
nucleic_width=1.0,
nucleic_thickness=2.0,
nucleic_radius='Rectangle',
base_shape=False,
base_realize=True,
color_blur=True,
shade_smooth )
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 |