Cylinder
from noon import Cylinder
Source-derived class. Host availability is not inferred from this listing. See reference scope.
Bases: Surface. Declared members follow; inherited and dynamically attached members are not expanded.
Oriented Cylinder whose side and optional Circle ends publish together.
Cylinder.__init__
Cylinder.__init__(self, radius=1, height=2, direction=(0, 0, 1), v_range=(0, 2 * math.pi), show_ends=True, resolution=(24, 24), fill_color=_base.BLUE_D, fill_opacity=1, checkerboard_colors=_DEFAULT_CHECKERBOARD, stroke_width=0.5, shade_in_3d=True, **kwargs)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
radius | positional or keyword | Not annotated | 1 |
height | positional or keyword | Not annotated | 2 |
direction | positional or keyword | Not annotated | (0, 0, 1) |
v_range | positional or keyword | Not annotated | (0, 2 * math.pi) |
show_ends | positional or keyword | Not annotated | True |
resolution | positional or keyword | Not annotated | (24, 24) |
fill_color | positional or keyword | Not annotated | _base.BLUE_D |
fill_opacity | positional or keyword | Not annotated | 1 |
checkerboard_colors | positional or keyword | Not annotated | _DEFAULT_CHECKERBOARD |
stroke_width | positional or keyword | Not annotated | 0.5 |
shade_in_3d | positional or keyword | Not annotated | True |
kwargs | **kwargs | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.