|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_prim_sketch.h>

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 |
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.
| int32_t occtl_prim_trace_info::approximate |
0/1; approximate input contours by arcs/segments.
| occtl_topo_wire_offset_2d_join_t occtl_prim_trace_info::join |
Corner join style used by OCCT.
| occtl_direction3_t occtl_prim_trace_info::normal |
Sketch-plane normal for single linear Edge paths.
| const void* occtl_prim_trace_info::p_next |
Reserved; must be NULL.
| occtl_node_id_t occtl_prim_trace_info::path |
Borrows it. Edge or Wire node to thicken.
| uint32_t occtl_prim_trace_info::struct_version |
Must be OCCTL_PRIM_TRACE_INFO_VERSION_1.
| double occtl_prim_trace_info::width |
Full trace width; strictly positive.