RingSection
Kind: Class
Domain: Flexible geometry
Canonical import: from cadflow.flexible import RingSection
Signature
class RingSection(center: 'Sequence[float]', axis_u: 'Sequence[float]', axis_v: 'Sequence[float]', radius_u: 'float', radius_v: 'float', wrinkle_amplitude: 'float' = 0.0, wrinkle_count: 'int' = 6, wrinkle_phase: 'float' = 0.0) -> None
Description
Static elliptical garment section in an arbitrary 3D plane.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
center | 'Sequence[float]' | yes | - | Not explicitly described in the source docstring. |
axis_u | 'Sequence[float]' | yes | - | Not explicitly described in the source docstring. |
axis_v | 'Sequence[float]' | yes | - | Not explicitly described in the source docstring. |
radius_u | 'float' | yes | - | Not explicitly described in the source docstring. |
radius_v | 'float' | yes | - | Not explicitly described in the source docstring. |
wrinkle_amplitude | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
wrinkle_count | 'int' | no | 6 | Not explicitly described in the source docstring. |
wrinkle_phase | 'float' | no | 0.0 | Not explicitly described in the source docstring. |
Returns
Type: None
The source docstring does not declare additional return semantics.
Errors
The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.
Data fields
| Name | Type | Default |
|---|---|---|
center | 'Sequence[float]' | required |
axis_u | 'Sequence[float]' | required |
axis_v | 'Sequence[float]' | required |
radius_u | 'float' | required |
radius_v | 'float' | required |
wrinkle_amplitude | 'float' | 0.0 |
wrinkle_count | 'int' | 6 |
wrinkle_phase | 'float' | 0.0 |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
points | method | (self, columns: 'int') -> 'np.ndarray' | See the member signature. |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow.flexible import RingSection