Skip to content

Geometry Tools

The snaptrude.tools.geometry namespace provides functions to directly manipulate the underlying geometry of components.

Classes

BrepBuilder

Helper class for constructing B-Rep solids.

Functions

updateBrep(component: Component, brep: Brep)

Updates the geometry of a component with a new B-Rep.

  • Parameters:
    • component: Component - The component to update.
    • brep: Brep - The new B-Rep geometry.