Skip to content

Modeling Tools

The snaptrude.tools.modeling namespace provides high-level modeling operations.

Functions

pushPull(component: Component, faceId: number, amount: number)

Extrudes a face of a component by a specified amount (Push/Pull operation).

  • Parameters:
    • component: Component - The component to modify.
    • faceId: number - The ID of the face to extrude.
    • amount: number - The distance to extrude.