|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_prim_sweep.h>

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 |
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.
| int32_t occtl_prim_pipe_shell_interpolated_law_info::make_solid |
0/1. Close the resulting shell into a solid.
| occtl_prim_pipe_mode_t occtl_prim_pipe_shell_interpolated_law_info::mode |
Trihedron rule; defaults to CORRECTED_FRENET.
| occtl_axis2_placement_t occtl_prim_pipe_shell_interpolated_law_info::mode_axis |
Used when mode == CONSTANT_AXIS.
| occtl_direction3_t occtl_prim_pipe_shell_interpolated_law_info::mode_binormal |
Used when mode == CONSTANT_BINORMAL.
| const void* occtl_prim_pipe_shell_interpolated_law_info::p_next |
Reserved; must be NULL.
| const double* occtl_prim_pipe_shell_interpolated_law_info::parameters |
Borrows it. Normalized law parameters; length is sample_count.
| occtl_node_id_t occtl_prim_pipe_shell_interpolated_law_info::profile |
Borrows it. Profile NodeId to scale and sweep.
| size_t occtl_prim_pipe_shell_interpolated_law_info::sample_count |
Number of parameter / scale samples; must be at least 2.
| const double* occtl_prim_pipe_shell_interpolated_law_info::scales |
Borrows it. Positive profile scales; length is sample_count.
| occtl_node_id_t occtl_prim_pipe_shell_interpolated_law_info::spine_wire |
Borrows it. Must be of kind OCCTL_KIND_WIRE.
| uint32_t occtl_prim_pipe_shell_interpolated_law_info::struct_version |
Must be OCCTL_PRIM_PIPE_SHELL_INTERPOLATED_LAW_INFO_VERSION_1.
| occtl_prim_pipe_transition_t occtl_prim_pipe_shell_interpolated_law_info::transition |
Corner handling; defaults to MODIFIED.
| int32_t occtl_prim_pipe_shell_interpolated_law_info::with_contact |
0/1. Glue profile to spine.
| int32_t occtl_prim_pipe_shell_interpolated_law_info::with_correction |
0/1. Rotate profile so its normal aligns with the spine tangent.