|Modification → Flip dimension|
|Introduced in version|
The Draft FlipDimension command rotates the dimension text of selected Draft Dimensions 180° around the dimension line. It can be used to correct dimensions whose text appears mirrored. The command does not work properly for angular dimensions.
- Select one or more Draft Dimensions.
- There are several ways to invoke the command:
- Draft Dimensions also have a DataFlip Text property. When set to
truethe text is rotated 180° around the normal direction. This can be combined with the effect of this command.
To flip a Draft Dimension invert its
import FreeCAD as App import Draft doc = App.newDocument() p1 = App.Vector(0, 0, 0) p2 = App.Vector(1000, 0, 0) p3 = App.Vector(500, 300, 0) dimension = Draft.make_dimension(p1, p2, p3) dimension.ViewObject.FontSize = 200 dimension.Normal = dimension.Normal.negative() doc.recompute()