OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl_prim_cylindrical_hole_info Struct Reference

#include <occtl_prim_feature.h>

Collaboration diagram for occtl_prim_cylindrical_hole_info:

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
 

Detailed Description

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.

Member Data Documentation

◆ axis

occtl_axis1_placement_t occtl_prim_cylindrical_hole_info::axis

Hole axis; direction must be non-zero.

◆ base_shape

occtl_node_id_t occtl_prim_cylindrical_hole_info::base_shape

Borrows it. Existing Solid / Shell / Shape to cut.

◆ kind

occtl_prim_cylindrical_hole_kind_t occtl_prim_cylindrical_hole_info::kind

Hole extent mode.

◆ length

double occtl_prim_cylindrical_hole_info::length

Positive depth for BLIND mode.

◆ p_from

double occtl_prim_cylindrical_hole_info::p_from

Start parameter for BETWEEN_PARAMS mode.

◆ p_next

const void* occtl_prim_cylindrical_hole_info::p_next

Reserved; must be NULL.

◆ p_to

double occtl_prim_cylindrical_hole_info::p_to

End parameter for BETWEEN_PARAMS mode; must be greater than p_from.

◆ radius

double occtl_prim_cylindrical_hole_info::radius

Hole radius; strictly positive.

◆ struct_version

uint32_t occtl_prim_cylindrical_hole_info::struct_version

Must be OCCTL_PRIM_CYLINDRICAL_HOLE_INFO_VERSION_1.

◆ with_control

int32_t occtl_prim_cylindrical_hole_info::with_control

0/1. When 1, OCCT validates the result after cutting.


The documentation for this struct was generated from the following file: