Expand description
§brepkit-operations
CAD modeling operations for B-Rep solids. Layer L3, depending on
brepkit-math, brepkit-topology, brepkit-geometry, brepkit-algo,
brepkit-blend, brepkit-heal, brepkit-check, and brepkit-offset.
§Module families
| Family | Modules | Purpose |
|---|---|---|
| Core | primitives, extrude, revolve, sweep, loft, pipe, helix | Shape creation |
| Transform | transform, copy, mirror, pattern | Spatial operations |
| Boolean | boolean, mesh_boolean | Set operations |
| Blend | fillet, chamfer, blend_ops | Edge smoothing |
| Offset | offset_face, offset_trim, offset_v2, offset_wire | Wall thickness |
| Surface | fill_face, thicken, shell_op, draft, section, split | Surface/solid modification |
| Repair | heal, defeature, sew, untrim | Shape fixing |
| Analysis | measure, distance, classify, validate, query, feature_recognition | Interrogation |
| Tessellation | tessellate | Mesh generation |
| Infrastructure | assembly, compound_ops, evolution, sketch | Utilities |
Modules§
- assembly
- Assembly management: hierarchical product structure with positioned components.
- blend_
ops - Thin wrappers around
brepkit-blendfor the operations API. - boolean
- Boolean operations on solids: fuse, cut, and intersect.
- chamfer
- Edge chamfering (cutting edges at an angle).
- classify
- Point-in-solid classification via ray casting and generalized winding numbers.
- compound_
ops - Operations on compound entities.
- copy
- Deep copy of topological entities.
- defeature
- Defeaturing: remove small features from a solid for simulation simplification.
- distance
- Distance measurement between shapes.
- draft
- Draft angle operation for injection molding applications.
- evolution
- Evolution tracking for modeling operations.
- extrude
- Linear extrusion of faces along a direction vector.
- feature_
recognition - Feature recognition: detect geometric features from B-Rep topology.
- fill_
face - Face filling: create a smooth NURBS surface from boundary curves.
- fillet
- Edge filleting (rounding edges with a constant or variable radius).
- heal
- Topology healing: repair common defects in B-Rep models.
- helix
- Helical sweep: sweep a profile along a helical path to create thread-like geometry (screws, springs, coils).
- loft
- Loft operation: create a solid by interpolating between profile faces.
- measure
- Measurement operations for B-rep geometry: bounding boxes, areas, volumes, and centers of mass.
- mesh_
boolean - Co-refinement mesh boolean operations on triangle meshes.
- mirror
- Mirror operation: reflect a solid across a plane.
- offset_
face - Face offset: create a new face offset from an existing face by a given distance along its surface normal.
- offset_
trim - Offset self-intersection detection and removal.
- offset_
v2 - V2 offset operations delegating to brepkit-offset.
- offset_
wire - Wire offset: produce a parallel wire at a given distance.
- pattern
- Pattern operations: linear and circular arrays of solids.
- pipe
- Pipe sweep: sweep a profile along a path with optional scaling guide.
- primitives
- Parametric primitive shape builders.
- projection
- Edge projection with hidden-line removal (HLR).
- query
- Shape query utilities.
- revolve
- Revolution of a planar profile around an axis to create solids of revolution.
- section
- Sectioning (slicing) solids with planes.
- sew
- Topology sewing: merge loose faces into connected shells.
- shell_
op - Shell (hollow/offset) operation for creating thin-walled solids.
- sketch
- 2D constraint solver for sketch-mode parametric design.
- split
- Split a solid into two halves along a cutting plane.
- sweep
- Path sweep: sweep a profile along a NURBS curve.
- tessellate
- Tessellation: convert B-Rep faces to triangle meshes.
- thicken
- Thicken a face into a solid by offsetting along its normal.
- transform
- Affine transforms applied to topological shapes.
- untrim
- NURBS face untrimming: convert a trimmed NURBS face to an untrimmed tensor-product patch.
- validate
- Comprehensive solid validation.
Enums§
- Operations
Error - Errors from modeling operations.