Bitbybit Docs
    Preparing search index...

    Class PmiDimensionDtoBeta (Inputs.OCCT)

    A dimension for assembly.manager.createPmiDimension and addDocumentPmi: what it states, the shapes it measures, and where its picture is drawn, in the part's own axes and units.

    Index

    Constructors

    Properties

    What the dimension states; linearDistance and angle need otherShapeRefs, the sizes take none.

    linearDistance
    
    value: number

    The nominal value, in the document's length unit, or in degrees for an angle.

    undefined
    

    0

    shapeRefs: PmiShapeDto[]

    The shapes it measures, or measures from, each a part and one face, edge or vertex of it.

    undefined
    
    otherShapeRefs?: PmiShapeDto[]

    The shapes a linearDistance or an angle measures to; an empty list counts as none.

    undefined
    

    true

    upperTolerance?: number

    How far above the value the measure may lie, in degrees for an angle. Left out with lowerTolerance, there is no tolerance; left out alone, it is 0.

    undefined
    

    true

    0

    lowerTolerance?: number

    How far below the value the measure may lie, as an amount. Left out with upperTolerance, the dimension has no tolerance; left out alone, it is 0.

    undefined
    

    true

    0

    name?: string

    The name of the picture start and end draw, which readers show and getDocumentAnnotations reads back; a presentation without a name of its own takes it.

    undefined
    

    true

    For linearDistance and curveLength the first point measured, for the others the center of the circle or angle; without it and end, nothing is drawn.

    undefined
    

    true

    For linearDistance and curveLength the second point measured; for diameter and radius a point of the circle; for an angle a point on its first arm, where the arc passes.

    undefined
    

    true

    normal?: Vector3

    The picture's plane normal, facing the reader; an angle turns counterclockwise about it. Left out, +Z, or -Y when start to end runs along Z.

    undefined
    

    true

    direction?: Vector3

    For linearDistance, the direction the distance is measured along; left out, from start to end. Other types ignore it.

    undefined
    

    true

    offset?: number

    For linearDistance and curveLength, how far the dimension line stands from start, to the left of the measured direction seen from normal; negative puts it right.

    10
    

    -Infinity

    Infinity

    textHeight?: number

    The height of the picture's digits, in the document's length unit; its arrows are as long.

    3.5
    

    0

    true

    decimalPlaces?: number

    How many decimals the picture writes the value with; trailing zeros are dropped.

    2
    

    0

    15

    1

    presentation?: PmiPresentationDto

    A presentation drawn by the caller, or an annotation read back, used instead of the picture start and end draw; one with no lines and no fills counts as none.

    undefined
    

    true