Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

Description

DimensionTextMixin is a mixin containing rules that can be used by other designs.

We do not use it alone; instead, it is used to add the rules to other designs. Presently there are 3 UI designs that use this mixin (see below).

Parameter Rules

 

dimTextCenter: This rule has a default formula that calculates the best text center point.
Example:p<-5, -0.625, -0.5>;

 

textAlignment: Direction of the dimension text.
Example:"horizontal";
Choices:["horizontal","vertical","aligned"]

 

textAlignmentChoices: Text alignment choices.
Example:["horizontal","vertical","aligned"];

 

textLocation: Text location in relationship to the extension lines.
Example:"auto";
Choices:["auto","inside","outside","useLocation"];

 

textPlacementChoices: Text placement choices.
Example:["auto","inside","outside","useLocation"];

 

 

 

 

Mixins

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

dimTextCenter

point

formula calculates the best point.

Text

Cached

textAlignment

string

this.textAlignmentChoices[1]

Text

Cached
Parameter

textAlignmentChoices

array

["horizontal","aligned"]

Text

Cached

textLocation

string

"auto"

Text

Cached

textPlacementChoices

array

["centered", "above", "below"]

Text

Cached

 

 

kBridgeExampleIcon

 

 

 

 

UI Designs that use the DimensionFormatMixin:

 

1.AngularDimension

2.DiametralDimension

3.RadialDimension

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment