|
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 |
| 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 |
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.
| int32_t occtl_prim_pipe_shell_linear_law_info::make_solid |
0/1. Close the resulting shell into a solid.
| occtl_prim_pipe_mode_t occtl_prim_pipe_shell_linear_law_info::mode |
Trihedron rule; defaults to CORRECTED_FRENET.
| occtl_axis2_placement_t occtl_prim_pipe_shell_linear_law_info::mode_axis |
Used when mode == CONSTANT_AXIS.
| occtl_direction3_t occtl_prim_pipe_shell_linear_law_info::mode_binormal |
Used when mode == CONSTANT_BINORMAL.
| const void* occtl_prim_pipe_shell_linear_law_info::p_next |
Reserved; must be NULL.
| occtl_node_id_t occtl_prim_pipe_shell_linear_law_info::profile |
Borrows it. Profile NodeId to scale and sweep.
| double occtl_prim_pipe_shell_linear_law_info::scale_first |
Positive profile scale at the spine start.
| double occtl_prim_pipe_shell_linear_law_info::scale_last |
Positive profile scale at the spine end.
| occtl_node_id_t occtl_prim_pipe_shell_linear_law_info::spine_wire |
Borrows it. Must be of kind OCCTL_KIND_WIRE.
| uint32_t occtl_prim_pipe_shell_linear_law_info::struct_version |
Must be OCCTL_PRIM_PIPE_SHELL_LINEAR_LAW_INFO_VERSION_1.
| occtl_prim_pipe_transition_t occtl_prim_pipe_shell_linear_law_info::transition |
Corner handling; defaults to MODIFIED.
| int32_t occtl_prim_pipe_shell_linear_law_info::with_contact |
0/1. Glue profile to spine.
| int32_t occtl_prim_pipe_shell_linear_law_info::with_correction |
0/1. Rotate profile so its normal aligns with the spine tangent.