|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_prim_sketch.h>

Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| occtl_axis2_placement_t | placement |
| double | radius |
| double | pitch |
| double | height |
| int32_t | left_handed |
Info for occtl_prim_make_helix.
Builds a Wire on a helical edge of radius, pitch (height gained per full turn), and total height. The helix winds around the Z axis of placement, centred at placement.location. Right-handedness is the default (counter-clockwise rotation as the helix advances along +Z).
| double occtl_prim_helix_info::height |
Total helix height along Z; strictly positive.
| int32_t occtl_prim_helix_info::left_handed |
0 (default) = right-handed. 1 = left-handed (CW from +Z).
| const void* occtl_prim_helix_info::p_next |
Reserved; must be NULL.
| double occtl_prim_helix_info::pitch |
Height per turn; strictly positive.
| occtl_axis2_placement_t occtl_prim_helix_info::placement |
Local frame; helix axis = Z.
| double occtl_prim_helix_info::radius |
Strictly positive.
| uint32_t occtl_prim_helix_info::struct_version |
Must be OCCTL_PRIM_HELIX_INFO_VERSION_1.