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

#include <occtl_prim_sweep.h>

Collaboration diagram for occtl_prim_pipe_shell_linear_law_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t spine_wire
 
occtl_node_id_t profile
 
double scale_first
 
double scale_last
 
occtl_prim_pipe_mode_t mode
 
occtl_axis2_placement_t mode_axis
 
occtl_direction3_t mode_binormal
 
occtl_prim_pipe_transition_t transition
 
int32_t with_contact
 
int32_t with_correction
 
int32_t make_solid
 

Detailed Description

Info for occtl_prim_make_pipe_shell_linear_law.

Sweeps one profile along a spine wire while scaling the profile linearly from scale_first at the spine start to scale_last at the spine end. The profile must be sweepable (Vertex / Edge / Wire / Face / Shell / Compound) and live in the same graph as spine_wire.

Member Data Documentation

◆ make_solid

int32_t occtl_prim_pipe_shell_linear_law_info::make_solid

0/1. Close the resulting shell into a solid.

◆ mode

occtl_prim_pipe_mode_t occtl_prim_pipe_shell_linear_law_info::mode

Trihedron rule; defaults to CORRECTED_FRENET.

◆ mode_axis

occtl_axis2_placement_t occtl_prim_pipe_shell_linear_law_info::mode_axis

Used when mode == CONSTANT_AXIS.

◆ mode_binormal

occtl_direction3_t occtl_prim_pipe_shell_linear_law_info::mode_binormal

Used when mode == CONSTANT_BINORMAL.

◆ p_next

const void* occtl_prim_pipe_shell_linear_law_info::p_next

Reserved; must be NULL.

◆ profile

occtl_node_id_t occtl_prim_pipe_shell_linear_law_info::profile

Borrows it. Profile NodeId to scale and sweep.

◆ scale_first

double occtl_prim_pipe_shell_linear_law_info::scale_first

Positive profile scale at the spine start.

◆ scale_last

double occtl_prim_pipe_shell_linear_law_info::scale_last

Positive profile scale at the spine end.

◆ spine_wire

occtl_node_id_t occtl_prim_pipe_shell_linear_law_info::spine_wire

Borrows it. Must be of kind OCCTL_KIND_WIRE.

◆ struct_version

uint32_t occtl_prim_pipe_shell_linear_law_info::struct_version

Must be OCCTL_PRIM_PIPE_SHELL_LINEAR_LAW_INFO_VERSION_1.

◆ transition

occtl_prim_pipe_transition_t occtl_prim_pipe_shell_linear_law_info::transition

Corner handling; defaults to MODIFIED.

◆ with_contact

int32_t occtl_prim_pipe_shell_linear_law_info::with_contact

0/1. Glue profile to spine.

◆ with_correction

int32_t occtl_prim_pipe_shell_linear_law_info::with_correction

0/1. Rotate profile so its normal aligns with the spine tangent.


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