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

#include <occtl_topo_algo.h>

Collaboration diagram for occtl_topo_wrap_on_face_options:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t source
 
occtl_node_id_t target_face
 
occtl_axis3_placement_t surface_location
 
double tolerance
 
int32_t initial_subdivisions
 
int32_t max_refinements
 
double intersection_extent
 
double wire_fix_tolerance
 

Detailed Description

Configuration for occtl_topo_wrap_on_face.

Wraps a planar Edge, Wire, or Face onto target_face, starting from a surface placement. The placement origin must lie on or near the target face. Its X axis defines the local planar +X direction on the surface; its Z axis defines the starting surface normal. The algorithm samples the planar source, follows the target surface through OCCT face intersections, interpolates wrapped B-spline edges, fixes wires, and builds a filling face when source is a Face.

Member Data Documentation

◆ initial_subdivisions

int32_t occtl_topo_wrap_on_face_options::initial_subdivisions

Initial samples per source edge. Default 4.

◆ intersection_extent

double occtl_topo_wrap_on_face_options::intersection_extent

Ray half-length; <= 0 derives from target bounds.

◆ max_refinements

int32_t occtl_topo_wrap_on_face_options::max_refinements

Maximum adaptive refinements. Default 8.

◆ p_next

const void* occtl_topo_wrap_on_face_options::p_next

Reserved; set to NULL.

◆ source

occtl_node_id_t occtl_topo_wrap_on_face_options::source

Borrows it. Planar Edge, Wire, or Face to wrap.

◆ struct_version

uint32_t occtl_topo_wrap_on_face_options::struct_version

Must be OCCTL_TOPO_WRAP_ON_FACE_OPTIONS_VERSION_1.

◆ surface_location

occtl_axis3_placement_t occtl_topo_wrap_on_face_options::surface_location

Start placement on the target surface.

◆ target_face

occtl_node_id_t occtl_topo_wrap_on_face_options::target_face

Borrows it. Target Face node ID.

◆ tolerance

double occtl_topo_wrap_on_face_options::tolerance

Allowed wrapped-edge length error. Default 1.0e-3.

◆ wire_fix_tolerance

double occtl_topo_wrap_on_face_options::wire_fix_tolerance

Wire fixing tolerance; <= 0 uses tolerance.


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