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

#include <occtl_prim_sweep.h>

Collaboration diagram for occtl_prim_twist_extrusion_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t profile_wire
 
occtl_axis1_placement_t axis
 
double height
 
double angle
 
int32_t section_count
 
int32_t make_solid
 
int32_t ruled
 
double pres3d
 

Detailed Description

Info for occtl_prim_make_twist_extrusion.

Builds a twisted extrusion from one closed Wire section along axis.direction, rotating each generated section around axis. Face profiles with inner wires should be decomposed before calling.

Member Data Documentation

◆ angle

double occtl_prim_twist_extrusion_info::angle

Total twist angle in radians.

◆ axis

occtl_axis1_placement_t occtl_prim_twist_extrusion_info::axis

Twist axis and extrusion direction.

◆ height

double occtl_prim_twist_extrusion_info::height

Signed extrusion distance along axis.direction.

◆ make_solid

int32_t occtl_prim_twist_extrusion_info::make_solid

0/1. When 1, cap into a Solid; otherwise build a Shell.

◆ p_next

const void* occtl_prim_twist_extrusion_info::p_next

Reserved; must be NULL.

◆ pres3d

double occtl_prim_twist_extrusion_info::pres3d

Through-sections precision; default 1.0e-6.

◆ profile_wire

occtl_node_id_t occtl_prim_twist_extrusion_info::profile_wire

Borrows it. Closed Wire section to sweep.

◆ ruled

int32_t occtl_prim_twist_extrusion_info::ruled

0/1. When 1, use ruled faces between sections.

◆ section_count

int32_t occtl_prim_twist_extrusion_info::section_count

Number of sampled sections; must be at least 2.

◆ struct_version

uint32_t occtl_prim_twist_extrusion_info::struct_version

Must be OCCTL_PRIM_TWIST_EXTRUSION_INFO_VERSION_1.


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