|
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 | profile |
| occtl_vector3_t | direction |
| int32_t | copy |
| int32_t | canonize |
Info for occtl_prim_make_prism.
Linearly extrudes profile by vector direction. The profile may be a Vertex, Edge, Wire, Face, or Shell of graph; the result kind is one step higher in dimension (Vertex→Edge, Edge→Face, Wire→Shell, Face→Solid, Shell→CompSolid).
| int32_t occtl_prim_prism_info::canonize |
0/1. When 1, swept surfaces are canonised to simple types. Default 1.
| int32_t occtl_prim_prism_info::copy |
0/1. When 1, the profile is duplicated rather than shared.
| occtl_vector3_t occtl_prim_prism_info::direction |
Extrusion vector (length = sweep distance).
| const void* occtl_prim_prism_info::p_next |
Reserved for extensions; must be NULL.
| occtl_node_id_t occtl_prim_prism_info::profile |
Borrows it. Vertex/Edge/Wire/Face/Shell to extrude.
| uint32_t occtl_prim_prism_info::struct_version |
Must be OCCTL_PRIM_PRISM_INFO_VERSION_1.