DimensionTextMixin

Synopsis

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

Mixins

Rules

Name Type Description
dimTextMain string A string representing the main dimension's text - the prefix, the formatted main measurement, and the suffix.
dimTextBase string The dimText string with all occurrences of "[]" replaced with the formatted alternate measurement (dimAltMeasurementFormatted) and with all occurrences of "<>" replaced with the formatted main measurement (dimMeasurementFormatted)
dimMeasurementFormatted string A string representing the formatted main measurement. It is measurement with all display formatting applied.
dimTextFinal string The final text of the main dimension, it includes the alternate dimension's text if the alternate dimension's location is After. It is dimTextMain, with dimAlternateFinal appended to the end if it is in the After location.
dimTextWidth number The width of the box that is (optionally) placed around the final main dimension text, including any text gap.
dimTextheight number The height of the box that is (optionally) placed around the final main dimension text, including any text gap.
dimTextNumLines integer The number of lines in the final main dimension text. It is always 1 if dimTextMultiLine? is False .
altMeasurement number The main measurement scaled to alternate units. It is equal to measurement: multiplied by dimAlternateMultiplier.
dimAltMeasurementFormatted string A string representing the formatted alternate measurement. It is altMeasurment with all display formatting applied.
dimAlternateFinal string This is a string representing the final alternate dimension text. It includes brackets if desired, the alternate prefix, the formatted alternate measurement, and the alternate prefix.
altTextWidth name The width of the box that is (optionally) placed around the final alternate dimension text, including any text gap.
altTextNumLines integer The number of lines in the final alternate dimension text. It is always 1 if dimTextMultiLine? is false .
dimAlternateBase string The dimAlternateText string with all occurrences of "[]" replaced with the formatted alternate measurement (dimAlternateMeasurementFormatted)
dimTextBaseAltOnly string The dimText string with all occurrences of "[]" replaced with dimAlternateMeasurementFormatted.