brepjs API Reference
    Preparing search index...

    Function cone

    • Create a cone (or frustum) with the given radii and height.

      Parameters

      • bottomRadius: number

        Radius at the base.

      • topRadius: number

        Radius at the top (0 for a full cone).

      • height: number

        Height of the cone.

      • Optionaloptions: ConeOptions

      Returns Solid