Bitbybit Docs
    Preparing search index...

    Class SimpleAngularDimensionDto (Inputs.OCCT)

    A center, two directions and the drawing settings for dimensions.simpleAngularDimension: the arc, the extension lines, the arrows and the label with the angle.

    Index

    Constructors

    • Parameters

      • Optionaldirection1: Point3
      • Optionaldirection2: Point3
      • Optionalcenter: Point3
      • Optionalradius: number
      • OptionaloffsetFromCenter: number
      • OptionalextraSize: number
      • Optionalradians: boolean
      • OptionallabelSuffix: string
      • OptionallabelSize: number
      • OptionallabelOffset: number
      • OptionalendType: dimensionEndTypeEnum
      • OptionalarrowSize: number
      • OptionalarrowAngle: number
      • OptionalarrowsFlipped: boolean
      • OptionallabelRotation: number
      • OptionallabelFlipHorizontal: boolean
      • OptionallabelFlipVertical: boolean
      • OptionallabelOverwrite: string
      • OptionalremoveTrailingZeros: boolean

      Returns SimpleAngularDimensionDto

    Properties

    direction1: Point3

    The direction of the first leg of the angle, from the center.

    [1, 0, 0]
    
    direction2: Point3

    The direction of the second leg of the angle, from the center.

    [0, 0, 1]
    
    center: Point3

    The point the angle is measured at.

    [0, 0, 0]
    
    radius: number

    The distance from the center to the dimension arc, in model units.

    4
    

    0

    Infinity

    0.1

    offsetFromCenter: number

    The gap between the center and the start of each extension line, in model units.

    0.5
    

    -Infinity

    Infinity

    0.1

    extraSize: number

    How far the extension lines stick out past the arc, in model units.

    0
    

    0

    Infinity

    0.1

    decimalPlaces: number

    How many decimals the angle is rounded to in the label.

    2
    

    0

    Infinity

    1

    labelSuffix: string

    Text written after the number, such as the unit.

    (deg)
    
    labelSize: number

    The height of the label's capital letters, in model units.

    0.1
    

    0

    Infinity

    0.1

    labelOffset: number

    How far the label sits from the arc, in model units.

    0.3
    

    -Infinity

    Infinity

    0.1

    radians: boolean

    When true, the angle is written in radians instead of degrees.

    false
    

    What the arc ends with: nothing, or an arrowhead.

    none
    
    arrowSize?: number

    The length of the arrowheads, in model units.

    0.3
    

    0

    Infinity

    0.1

    arrowAngle?: number

    The full angle between the two lines of an arrowhead, in degrees, up to 90.

    30
    

    0

    90

    1

    arrowsFlipped?: boolean

    When true, the arrowheads point outward from the dimension instead of inward.

    false
    
    labelRotation?: number

    Extra rotation of the label in its plane, in degrees.

    0
    

    -360

    360

    1

    labelFlipHorizontal?: boolean

    When true, the label is mirrored left to right.

    false
    
    labelFlipVertical?: boolean

    When true, the label is mirrored top to bottom.

    false
    
    labelOverwrite?: string

    An expression written instead of the plain number, with val standing for the angle, such as 100*val or Angle: val deg.

    1*val
    

    true

    removeTrailingZeros?: boolean

    When true, zeros at the end of the decimals are dropped, so 45.00 becomes 45.

    false