brepjs API Reference
    Preparing search index...

    Function shapeType

    • Get the topological type of a shape ('solid', 'face', ...), returning Err for null shapes. Accepts a branded shape or its raw kernel handle (shape.wrapped).

      Parameters

      • shape: any

      Returns Result<ShapeType>