brepjs API Reference
    Preparing search index...

    Function voxelBoolean

    • Voxel-based CSG of two meshes: voxelize both onto a shared grid, combine their SDFs (union/intersection/difference), then Surface-Nets contour the result.

      op is 'difference' = A − B. Robust on non-watertight input (FWN sign). Returns a KernelMeshResult in world coordinates (single group, no UVs).

      Parameters

      Returns Result<KernelMeshResult>