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

Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| occtl_node_id_t | base_shape |
| occtl_axis1_placement_t | axis |
| double | radius |
| occtl_prim_cylindrical_hole_kind_t | kind |
| double | p_from |
| double | p_to |
| double | length |
| int32_t | with_control |
Info for occtl_prim_make_cylindrical_hole.
Cuts one cylindrical hole feature from base_shape. axis.location is the start point for directed modes and axis.direction gives the drilling direction. The result is inserted as a new topology root; the input body is left unchanged in the graph.
| occtl_axis1_placement_t occtl_prim_cylindrical_hole_info::axis |
Hole axis; direction must be non-zero.
| occtl_node_id_t occtl_prim_cylindrical_hole_info::base_shape |
Borrows it. Existing Solid / Shell / Shape to cut.
| occtl_prim_cylindrical_hole_kind_t occtl_prim_cylindrical_hole_info::kind |
Hole extent mode.
| double occtl_prim_cylindrical_hole_info::length |
Positive depth for BLIND mode.
| double occtl_prim_cylindrical_hole_info::p_from |
Start parameter for BETWEEN_PARAMS mode.
| const void* occtl_prim_cylindrical_hole_info::p_next |
Reserved; must be NULL.
| double occtl_prim_cylindrical_hole_info::p_to |
End parameter for BETWEEN_PARAMS mode; must be greater than p_from.
| double occtl_prim_cylindrical_hole_info::radius |
Hole radius; strictly positive.
| uint32_t occtl_prim_cylindrical_hole_info::struct_version |
Must be OCCTL_PRIM_CYLINDRICAL_HOLE_INFO_VERSION_1.
| int32_t occtl_prim_cylindrical_hole_info::with_control |
0/1. When 1, OCCT validates the result after cutting.