Bitbybit Docs
    Preparing search index...

    Class ConeDto (Inputs.OCCT)

    The two radii, height and placement of a cone or truncated cone for shapes.solid.createCone.

    Index

    Constructors

    • Parameters

      • Optionalradius1: number
      • Optionalradius2: number
      • Optionalheight: number
      • Optionalangle: number
      • Optionalcenter: Point3
      • Optionaldirection: Vector3

      Returns Bit.Inputs.OCCT.ConeDto

    Properties

    radius1: number

    The radius of the base at center, in model units.

    2
    

    0

    Infinity

    0.1

    radius2: number

    The radius at the top, in model units; 0 makes a pointed cone.

    1
    

    0

    Infinity

    0.1

    height: number

    The distance from the base to the top along direction, in model units.

    2
    

    0

    Infinity

    0.1

    angle: number

    How much of the full round to build, in degrees; less than 360 cuts a wedge out.

    360
    

    0

    360

    1

    center: Point3

    The center of the base.

    [0, 0, 0]
    
    direction: Point3

    The direction from the base to the top.

    [0, 1, 0]