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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_trace_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t path
 
double width
 
occtl_direction3_t normal
 
occtl_topo_wire_offset_2d_join_t join
 
int32_t approximate
 

Detailed Description

Info for occtl_prim_make_trace.

Builds a constant-width planar face around an Edge or open Wire path. OCCT constructs the offset contour; OCCT-Light only wraps the resulting closed contour as a planar Face and inserts it into the graph. For a single linear Edge, normal defines the sketch plane normal used to centre the rectangular trace around the edge.

Member Data Documentation

◆ approximate

int32_t occtl_prim_trace_info::approximate

0/1; approximate input contours by arcs/segments.

◆ join

occtl_topo_wire_offset_2d_join_t occtl_prim_trace_info::join

Corner join style used by OCCT.

◆ normal

occtl_direction3_t occtl_prim_trace_info::normal

Sketch-plane normal for single linear Edge paths.

◆ p_next

const void* occtl_prim_trace_info::p_next

Reserved; must be NULL.

◆ path

occtl_node_id_t occtl_prim_trace_info::path

Borrows it. Edge or Wire node to thicken.

◆ struct_version

uint32_t occtl_prim_trace_info::struct_version

Must be OCCTL_PRIM_TRACE_INFO_VERSION_1.

◆ width

double occtl_prim_trace_info::width

Full trace width; strictly positive.


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