Skip to main content

Module boolean

Module boolean 

Source
Expand description

Boolean operations on solids: fuse, cut, and intersect.

Uses the GFA pipeline (brepkit_algo::gfa) as the primary boolean engine, with mesh boolean (co-refinement) as a fallback when GFA fails or produces invalid results.

Modules§

assembly
Solid assembly functions for boolean operations.

Structs§

BooleanOptions
Options for boolean operations.

Enums§

BooleanOp
The type of boolean operation.
FaceSpec
A face specification for mixed-surface solid assembly.

Functions§

boolean
Perform a boolean operation on two solids.
boolean_with_evolution
Perform a boolean operation and return an crate::evolution::EvolutionMap tracking face provenance.
boolean_with_options
Perform a boolean operation with custom options.
collect_face_signatures
Collect face signatures (index, normal, centroid) for evolution tracking.
compound_cut
Sequential compound cut via GFA.
face_polygon
Get a polygon approximation of a face by sampling curved edges.
mesh_fallback_count
Number of boolean operations that have used the mesh (co-refinement) fallback since process start.