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

#include <occtl_prim_feature.h>

Collaboration diagram for occtl_prim_feat_prism_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t base_shape
 
occtl_node_id_t profile
 
occtl_node_id_t sketch_face
 
occtl_direction3_t direction
 
occtl_prim_feat_combine_t combine
 
int32_t modify
 
occtl_prim_until_kind_t until_kind
 
occtl_node_id_t until_shape
 
double length
 

Detailed Description

Info for occtl_prim_make_feat_prism.

Builds a feature prism on an existing body: extrudes profile and combines the result with base_shape (fuse / cut / separate). Supports termination by target shape or height.

Member Data Documentation

◆ base_shape

occtl_node_id_t occtl_prim_feat_prism_info::base_shape

Borrows it. Existing Solid / Shell the feature is built on.

◆ combine

occtl_prim_feat_combine_t occtl_prim_feat_prism_info::combine

Cut / Fuse / Separate.

◆ direction

occtl_direction3_t occtl_prim_feat_prism_info::direction

Extrusion direction.

◆ length

double occtl_prim_feat_prism_info::length

Required for LENGTH and HEIGHT modes.

◆ modify

int32_t occtl_prim_feat_prism_info::modify

0/1. When 1, allow OCCT to modify base topology.

◆ p_next

const void* occtl_prim_feat_prism_info::p_next

Reserved; must be NULL.

◆ profile

occtl_node_id_t occtl_prim_feat_prism_info::profile

Borrows it. Face / Wire to extrude.

◆ sketch_face

occtl_node_id_t occtl_prim_feat_prism_info::sketch_face

Borrows it. Face of base_shape hosting profile.

◆ struct_version

uint32_t occtl_prim_feat_prism_info::struct_version

Must be OCCTL_PRIM_FEAT_PRISM_INFO_VERSION_1.

◆ until_kind

occtl_prim_until_kind_t occtl_prim_feat_prism_info::until_kind

Termination rule.

◆ until_shape

occtl_node_id_t occtl_prim_feat_prism_info::until_shape

Borrows it. Required for SHAPE and HEIGHT modes.


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