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

#include <occtl_prim_feature.h>

Collaboration diagram for occtl_prim_feat_draft_prism_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t base_shape
 
occtl_node_id_t profile_face
 
occtl_node_id_t sketch_face
 
double taper_angle
 
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_draft_prism.

Builds a draft prism feature on an existing body. Unlike occtl_prim_make_draft_prism, this operation delegates to OCCT BRepFeat_MakeDPrism and combines the tapered feature with base_shape.

Member Data Documentation

◆ base_shape

occtl_node_id_t occtl_prim_feat_draft_prism_info::base_shape

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

◆ combine

occtl_prim_feat_combine_t occtl_prim_feat_draft_prism_info::combine

Cut / Fuse / Separate.

◆ length

double occtl_prim_feat_draft_prism_info::length

Required for LENGTH and HEIGHT modes.

◆ modify

int32_t occtl_prim_feat_draft_prism_info::modify

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

◆ p_next

const void* occtl_prim_feat_draft_prism_info::p_next

Reserved; must be NULL.

◆ profile_face

occtl_node_id_t occtl_prim_feat_draft_prism_info::profile_face

Borrows it. Face of base_shape to taper/extrude.

◆ sketch_face

occtl_node_id_t occtl_prim_feat_draft_prism_info::sketch_face

Borrows it. Face of base_shape hosting the sketch.

◆ struct_version

uint32_t occtl_prim_feat_draft_prism_info::struct_version

Must be OCCTL_PRIM_FEAT_DRAFT_PRISM_INFO_VERSION_1.

◆ taper_angle

double occtl_prim_feat_draft_prism_info::taper_angle

Draft angle in radians.

◆ until_kind

occtl_prim_until_kind_t occtl_prim_feat_draft_prism_info::until_kind

Termination rule.

◆ until_shape

occtl_node_id_t occtl_prim_feat_draft_prism_info::until_shape

Borrows it. Required for SHAPE and HEIGHT modes.


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