Bitbybit Docs
    Preparing search index...

    Class AngularDimensionDto (Advanced.Dimensions)

    An angular dimension for advanced.dimensions.angularDimension: the angle at centerPoint between direction1 and direction2, drawn as an arc of radius, with the label text set by decimalPlaces, labelSuffix and labelOverwrite.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • OptionalcenterPoint: Bit.Inputs.Base.Point3
      • Optionaldirection1: Vector3
      • Optionaldirection2: Vector3
      • Optionalradius: number
      • OptionallabelOffset: number
      • OptionaldecimalPlaces: number
      • OptionallabelSuffix: string
      • OptionallabelOverwrite: string
      • Optionalradians: boolean
      • OptionalremoveTrailingZeros: boolean
      • Optionalstyle: DimensionStyleDto

      Returns AngularDimensionDto

    Properties

    centerPoint: Bit.Inputs.Base.Point3

    Vertex of the angle, where both directions start.

    [0, 0, 0]
    
    direction1: Vector3

    First arm of the angle; only its direction counts, not its length.

    [1, 0, 0]
    
    direction2: Vector3

    Second arm of the angle. The arc spans the smaller angle between the two arms, so the value is at most half a turn.

    [0, 1, 0]
    
    radius: number

    Radius of the arc in model units; the line along each arm runs past it by the style's extensionLineLength.

    1
    

    0.1

    Infinity

    0.1

    labelOffset: number

    Distance in model units beyond the arc at which the label sits, on the line halfway between the two arms.

    0.1
    

    0

    Infinity

    0.1

    decimalPlaces: number

    Digits after the decimal point in the label.

    1
    

    0

    10

    1

    labelSuffix: string

    Text after the value, separated by a space. The value is in radians although the default is a degree sign; set labelOverwrite to val*57.29578 to show degrees.

    °
    
    labelOverwrite: string

    Label expression where val is the measured value: arithmetic such as val/25.4 is evaluated, while other text such as Width val shows the rounded value in place of val.

    1*val
    
    radians: boolean

    Not read when the dimension is drawn: the label always shows radians unless labelOverwrite converts the value.

    false
    
    removeTrailingZeros: boolean

    Drops zeros at the end of the rounded value, so 2.50 reads 2.5 and 3.00 reads 3.

    false
    

    Look of the lines, arrowheads and label; leave it out for the defaults of DimensionStyleDto.

    undefined
    

    true