Skip to main content

Crate brepkit_operations

Crate brepkit_operations 

Source
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

FamilyModulesPurpose
Coreprimitives, extrude, revolve, sweep, loft, pipe, helixShape creation
Transformtransform, copy, mirror, patternSpatial operations
Booleanboolean, mesh_booleanSet operations
Blendfillet, chamfer, blend_opsEdge smoothing
Offsetoffset_face, offset_trim, offset_v2, offset_wireWall thickness
Surfacefill_face, thicken, shell_op, draft, section, splitSurface/solid modification
Repairheal, defeature, sew, untrimShape fixing
Analysismeasure, distance, classify, validate, query, feature_recognitionInterrogation
TessellationtessellateMesh generation
Infrastructureassembly, compound_ops, evolution, sketchUtilities

Modules§

assembly
Assembly management: hierarchical product structure with positioned components.
blend_ops
Thin wrappers around brepkit-blend for 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§

OperationsError
Errors from modeling operations.