DimRadialDiametralMixin

Synopsis

This design is used as a mixin in other designs to define a radial and diametral dimensions, such as DiametralDimension and RadialDimension. However, it does not have any geometry of its own.

Mixins

Parameters

Name Type Description
arc part The curve to dimension.
charHeight number Height of the dimension text. Default is 0.25
textAlignment name Controls alignment of the dimension text. Default is :Horizontal. Choices include :Horizontal and :Aligned.
horizontalLeader? boolean Specifies whether a horizontal leader is desired. Default is True .
dimLineFrom? boolean Determines if a dimension line appears at the opposite side of the arc: Default is True .
extLineFrom? boolean Determines if an extension line appears at the opposite side of the arc: Default is False .
textLocation name Determines where the text will be located. Default is :Auto. Choices include :Auto and :UseLocation.

Rules

Name Type Description
measurementVector vector Vector along which the measurement is taken.
locationVector vector Vector from the projectedCenter to the projectedLocation.
projectedCenter point The center point projected into the XY (Z=0) plane.
projectedLocation point The location point projected into the XY (Z=0) plane.
dimLineFromEnd point End point on the dimension line nearest the fromPoint.
dimLineFromStart point Start point on the dimension line nearest the fromPoint.
extLineFromStart point Start point on the extension line associated with the fromPoint.
extLineFromEnd point End point on the extension line associated with the fromPoint.
hasHorizontalLeader? boolean Returns True if a horizontal leader line actually appears in the dimension.
horizontalLeaderDirection vector Returns a vector in the direction the horizontal leader.
horizontalLeaderStart point Start point on the horizontal leader line.
horizontalLeaderEnd point End point on the horizontal leader line.
dimCenter point A point midway between the toLine and fromLine at distance from the projectedVertexPoint equal to the locationRadius.
dimTextCenter point Actual center of the dimension text.
dimAlternateCenter point Actual center of the dimension text. If the alternate dimension text is on the same line as the dimension text, then this will be the same point as dimTextCenter.