brepjs API Reference
    Preparing search index...

    Function is3D

    • Narrow an unknown-dimension shape to 3D. All shapes from the kernel default to 3D embedding. 2D shapes only exist when explicitly created via 2D API paths that set the __is2D runtime marker on the handle.

      Note: Currently no production code path creates 2D-marked shapes. This guard is provided for forward compatibility with future 2D API work.

      Parameters

      Returns s is AnyShape<"3D">