bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class TorusDto

    Index

    Constructors

    • Parameters

      • OptionalmajorRadius: number
      • OptionalminorRadius: number
      • Optionalcenter: Point3
      • Optionaldirection: Vector3
      • Optionalangle: number

      Returns Bit.Inputs.OCCT.TorusDto

    Properties

    majorRadius: number

    Major radius (distance from the center of the torus to the center of the pipe)

    2
    

    0

    Infinity

    0.1

    minorRadius: number

    Minor radius (radius of the pipe)

    0.5
    

    0

    Infinity

    0.1

    center: Point3

    Center of the torus

    [0, 0, 0]
    
    direction: Vector3

    Direction (axis) of the torus

    [0, 1, 0]
    
    angle?: number

    Angle of the torus segment in degrees (360 for full torus)

    360
    

    0

    360

    1