brepjs API Reference
    Preparing search index...

    Function castShape3D

    • Cast a raw kernel shape with the '3D' dimension brand, the same as castShape(ocShape). The 3D is the space the shape lives in, not its topology: the result can be any kind from vertex to compound. Narrow it with isShape3D to get a Shape3D (shell, solid, compsolid, or compound).

      Parameters

      • ocShape: any

      Returns AnyShape