TechDraw LinkDimension: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 62: Line 62:


<!--T:14-->
<!--T:14-->
# The {{PropertyData|Measure Type}} property of a linked Dimension will be changed from {{Value|Projected}} to {{TRUE}}.
# The {{PropertyData|Measure Type}} property of a linked Dimension will be changed from {{Value|Projected}} to {{Value|True}}.


==Scripting== <!--T:6-->
==Scripting== <!--T:6-->

Revision as of 10:12, 9 January 2023

TechDraw LinkDimension

Menu location
TechDraw → Dimensions → Link Dimension to 3D Geometry
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
See also
TechDraw View, TechDraw ProjectionGroup

TechDraw LinkDimension is expected to be deprecated in the future. The TechDraw DimensionRepair tool can be used to change both 2D and 3D references.

Description

The TechDraw LinkDimension tool creates a link between 3D geometry and one or more existing projected Dimensions on a Page. This link allows the Dimension to use actual 3D values instead of 2D projected values.

The Link Dimension tool's most common use is in dimensioning isometric views in a ProjectionGroup. The projected length of an Edge in an isometric view will, of course, not necessarily equal the actual length of the Edge. In an orthogonal view the projected and actual lengths will be equal.

The link instructs the Dimension to compute it's value directly from the 3D geometry.

Usage

  1. Create an appropriate dimension on the drawing page using any of TechDraw LengthDimensionh, TechDraw HorizontalDimension, etc. This dimension will be in the right place on the Page, but will show the projected dimension value.
  2. Select the geometry in the 3D view, for example, an edge, that corresponds to the projected geometry of your dimension.
  3. Press the Link Dimension button.
  4. A dialog will open. Select one or more Dimensions to be linked to the selected 3D geometry.
  5. Press OK.

After the link operation is completed the DataMeasureType property of the dimension changes from Projected to True.

Limitations

Dimension objects are vulnerable to the "topological naming problem". See TechDraw LengthDimension for more information. It is recommended that linking dimensions be one of the last steps in your drawing process.

The link tool will not stop you from making illogical links, so you need to choose the correct edge from the 3D view when creating the link.

There is currently no way to break a link; you can change the DataMeasureType back to Projected so that the dimension will use the projected value instead of the linked value.

Note that if the Dimension to be linked is based on two vertices, you should select two vertices in the 3D view. Similarly if the Dimension is based on an edge, you should select an edge in the 3D view.

Properties

  1. The DataMeasure Type property of a linked Dimension will be changed from Projected to True.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

The TechDraw LinkDimension tool is not directly usable in macros, but changing the DataReferences 3D property can accomplish the same result.