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

#include <occtl_prim_sweep.h>

Collaboration diagram for occtl_prim_offset_shape_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t shape
 
double offset
 
double tolerance
 
occtl_prim_offset_mode_t mode
 
occtl_offset_join_type_t join
 
int32_t intersection
 
int32_t self_intersection
 
int32_t remove_internal_edges
 

Detailed Description

Info for occtl_prim_make_offset_shape.

Builds an offset version of shape (wire / face / shell / solid) at the given offset distance using a join-based offset (each face is offset and the gaps bridged according to join).

Member Data Documentation

◆ intersection

int32_t occtl_prim_offset_shape_info::intersection

0/1. When 1, faces are intersected — slower but yields cleaner results.

◆ join

occtl_offset_join_type_t occtl_prim_offset_shape_info::join

Edge join style; default OCCTL_OFFSET_JOIN_ARC.

◆ mode

occtl_prim_offset_mode_t occtl_prim_offset_shape_info::mode

Offset mode; default SKIN.

◆ offset

double occtl_prim_offset_shape_info::offset

Offset distance (signed).

◆ p_next

const void* occtl_prim_offset_shape_info::p_next

Reserved; must be NULL.

◆ remove_internal_edges

int32_t occtl_prim_offset_shape_info::remove_internal_edges

0/1. When 1, internal edges of the offset result are removed.

◆ self_intersection

int32_t occtl_prim_offset_shape_info::self_intersection

0/1. When 1, allow self-intersection checking.

◆ shape

occtl_node_id_t occtl_prim_offset_shape_info::shape

Borrows it. Shape to offset.

◆ struct_version

uint32_t occtl_prim_offset_shape_info::struct_version

Must be OCCTL_PRIM_OFFSET_SHAPE_INFO_VERSION_1.

◆ tolerance

double occtl_prim_offset_shape_info::tolerance

Construction tolerance; typical 1.0e-3.


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