Public Member Functions | |
| __init__ (self, winding, frame, float domain_radius, float domain_resolution) | |
| layer_slots (self, int l) | |
| int | end_slot_shift (self, int l) |
| s_rows (self) | |
| tube_rows (self) | |
| tube_slot_count (self) | |
| build (self, builder) | |
| check_radius (self, builder, tol=1e-9) | |
Public Attributes | |
| w = winding | |
| frame = frame | |
| domain_radius = domain_radius | |
| domain_resolution = domain_resolution | |
| theta = winding.cap_rotation() | |
Protected Member Functions | |
| _pR (self, float s) | |
| _assert_outward (self, builder, axis, which) | |
| corc.shells.ShellGenerator.__init__ | ( | self, | |
| winding, | |||
| frame, | |||
| float | domain_radius, | ||
| float | domain_resolution ) |
|
protected |
The triangle added at builder.tris[which] must face away from the local centerline point (radially outward).
|
protected |
| corc.shells.ShellGenerator.build | ( | self, | |
| builder ) |
| corc.shells.ShellGenerator.check_radius | ( | self, | |
| builder, | |||
| tol = 1e-9 ) |
Every ring node must sit exactly at its layer radius from the centerline (measured in the cross-section plane it was built in).
| int corc.shells.ShellGenerator.end_slot_shift | ( | self, | |
| int | l ) |
Ring-slot index shift between a layer's last row and its first: with the n-fold closure (winding.tape_shift() = q) ring slot j at s=L sits at the s=0 position of slot j + q * (slots per sector), the same for both winding senses. 0 when the caps close by rotation instead.
| corc.shells.ShellGenerator.layer_slots | ( | self, | |
| int | l ) |
Slot boundary angles (body frame, s=0) for layer l and the
per-feature slot ranges: returns (angles, features) where features
is a list of ("tape"|"gap", tape_index, slot_start, slot_count).
| corc.shells.ShellGenerator.s_rows | ( | self | ) |
| corc.shells.ShellGenerator.tube_rows | ( | self | ) |
| corc.shells.ShellGenerator.tube_slot_count | ( | self | ) |
| corc.shells.ShellGenerator.domain_radius = domain_radius |
| corc.shells.ShellGenerator.domain_resolution = domain_resolution |
| corc.shells.ShellGenerator.frame = frame |
| corc.shells.ShellGenerator.theta = winding.cap_rotation() |
| corc.shells.ShellGenerator.w = winding |