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

#include <occtl_prim_sweep.h>

Collaboration diagram for occtl_prim_pipe_shell_interpolated_law_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t spine_wire
 
occtl_node_id_t profile
 
const double * parameters
 
const double * scales
 
size_t sample_count
 
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_interpolated_law.

Sweeps one profile along a spine wire while scaling the profile by an interpolated law. parameters and scales are parallel arrays of sample_count values; parameters are normalized over the spine domain and must be strictly increasing from 0.0 to 1.0. Scales must be finite and positive.

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_interpolated_law_info::make_solid

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

◆ mode

occtl_prim_pipe_mode_t occtl_prim_pipe_shell_interpolated_law_info::mode

Trihedron rule; defaults to CORRECTED_FRENET.

◆ mode_axis

occtl_axis2_placement_t occtl_prim_pipe_shell_interpolated_law_info::mode_axis

Used when mode == CONSTANT_AXIS.

◆ mode_binormal

occtl_direction3_t occtl_prim_pipe_shell_interpolated_law_info::mode_binormal

Used when mode == CONSTANT_BINORMAL.

◆ p_next

const void* occtl_prim_pipe_shell_interpolated_law_info::p_next

Reserved; must be NULL.

◆ parameters

const double* occtl_prim_pipe_shell_interpolated_law_info::parameters

Borrows it. Normalized law parameters; length is sample_count.

◆ profile

occtl_node_id_t occtl_prim_pipe_shell_interpolated_law_info::profile

Borrows it. Profile NodeId to scale and sweep.

◆ sample_count

size_t occtl_prim_pipe_shell_interpolated_law_info::sample_count

Number of parameter / scale samples; must be at least 2.

◆ scales

const double* occtl_prim_pipe_shell_interpolated_law_info::scales

Borrows it. Positive profile scales; length is sample_count.

◆ spine_wire

occtl_node_id_t occtl_prim_pipe_shell_interpolated_law_info::spine_wire

Borrows it. Must be of kind OCCTL_KIND_WIRE.

◆ struct_version

uint32_t occtl_prim_pipe_shell_interpolated_law_info::struct_version

Must be OCCTL_PRIM_PIPE_SHELL_INTERPOLATED_LAW_INFO_VERSION_1.

◆ transition

occtl_prim_pipe_transition_t occtl_prim_pipe_shell_interpolated_law_info::transition

Corner handling; defaults to MODIFIED.

◆ with_contact

int32_t occtl_prim_pipe_shell_interpolated_law_info::with_contact

0/1. Glue profile to spine.

◆ with_correction

int32_t occtl_prim_pipe_shell_interpolated_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: