|
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 | outer_radius |
| double | inner_radius |
| double | height |
Info for occtl_prim_make_tube.
Builds a Solid hollow cylinder with outer radius outer_radius and inner radius inner_radius, centred on placement.location and extruded along placement's Z axis by height. Internally a rectangular cross-section is revolved a full turn around the placement Z axis. Both annular caps are present in the resulting Solid.
| double occtl_prim_tube_info::height |
Height along placement Z; strictly positive.
| double occtl_prim_tube_info::inner_radius |
Strictly > 0.
| double occtl_prim_tube_info::outer_radius |
Strictly > inner_radius > 0.
| const void* occtl_prim_tube_info::p_next |
Reserved; must be NULL.
| occtl_axis2_placement_t occtl_prim_tube_info::placement |
Local frame; axis = Z.
| uint32_t occtl_prim_tube_info::struct_version |
Must be OCCTL_PRIM_TUBE_INFO_VERSION_1.