TechDraw LinkDimension: Difference between revisions

From FreeCAD Documentation
({{TechDraw Tools navi}} and {{Userdocnavi}})
(Undo revision 1403348 by Roy 043 (talk))
Tag: Undo
 
(63 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:19-->
{{Docnav
|[[TechDraw_VerticalExtentDimension|VerticalExtentDimension]]
|[[TechDraw_Balloon|Balloon]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_VerticalExtentDimension.svg
|IconR=TechDraw_Balloon.svg
|IconC=Workbench_TechDraw.svg
}}

<!--T:24-->
{{VeryImportantMessage|The '''TechDraw LinkDimension''' tool is '''[https://en.wikipedia.org/wiki/Deprecation DEPRECATED]''' and will be removed in a future version. It should only be used with old (< v0.19) FreeCAD versions and files.<br>
In newer versions the [[TechDraw_DimensionRepair|TechDraw DimensionRepair]] tool should be used to change both 2D and 3D references.}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=TechDraw Dimension Link|Workbenches=[[TechDraw Module|TechDraw]]|MenuLocation=TechDraw → Dimension Link|Shortcut=? ?|SeeAlso=}}
|Name=TechDraw LinkDimension
|MenuLocation=TechDraw → Dimensions → Link Dimension to 3D Geometry
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|SeeAlso=[[TechDraw_View|TechDraw View]], [[TechDraw_ProjectionGroup|TechDraw ProjectionGroup]]
}}


==Description== <!--T:2-->
==Description== <!--T:2-->
The Dimension Link tool creates a link between 3D geometry and 1 or more Dimensions on a Page. This link allows the Dimension to use actual 3D values instead of 2D projected values.


==How to use== <!--T:3-->
<!--T:8-->
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.
# Create your Dimension on the drawing page as usual.
# Select geometry (ex an Edge) in the 3D model view that corresponds to one of your Dimensions.
# Press the {{KEY|[[Image:TechDraw_Dimension_Link.png|24px]] [[TechDraw Dimension Link|Dimension Link]]}} button
# A dialog will open. Select 1 or more Dimensions to be linked to the selected 3D geometry.
# Press "OK"


==Options== <!--T:4-->
<!--T:22-->
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.
None.


==Properties== <!--T:5-->
<!--T:23-->
The link instructs the Dimension to compute it's value directly from the 3D geometry.
# The MeasureType property of a linked Dimension will be changed from "Projected" to "True".

==Usage== <!--T:3-->

<!--T:9-->
# Create an appropriate dimension on the drawing page using any of [[TechDraw_LengthDimension|TechDraw LengthDimension]], [[TechDraw_HorizontalDimension|TechDraw HorizontalDimension]], etc. This dimension will be in the right place on the Page, but will show the projected dimension value.
# Select the geometry in the 3D view, for example, an edge, that corresponds to the projected geometry of your dimension.
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:TechDraw_LinkDimension.svg|16px]] [[TechDraw_LinkDimension|Link Dimension to 3D Geometry]]}} button.
#* Select the {{MenuCommand|TechDraw → Dimensions → [[Image:TechDraw_LinkDimension.svg|16px]] Link Dimension to 3D Geometry}} option from the menu.
# A task panel opens.
# Select one or more Dimensions to be linked to the selected 3D geometry.
# Press {{Button|OK}}.

<!--T:10-->
The link operation changes the {{PropertyData|MeasureType}} property of the dimension from {{incode|Projected}} to {{incode|True}}.

==Limitations== <!--T:7-->

<!--T:11-->
Dimension objects are vulnerable to the "[[Topological_naming_problem|topological naming problem]]". See [[TechDraw_LengthDimension|TechDraw LengthDimension]] for more information. It is recommended that linking dimensions be one of the last steps in your drawing process.

<!--T:12-->
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.

<!--T:13-->
There is currently no way to break a link; you can change the {{PropertyData|MeasureType}} back to {{incode|Projected}} so that the dimension will use the projected value instead of the linked value.

<!--T:21-->
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.


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

Dimensions can be linked to 3D geometry using Python.
<!--T:15-->
</translate>
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Code|code=

tbd
<!--T:25-->
The TechDraw LinkDimension tool is not directly usable in macros, but changing the {{PropertyData|References 3D}} property can accomplish the same result.


<!--T:20-->
{{Docnav
|[[TechDraw_VerticalExtentDimension|VerticalExtentDimension]]
|[[TechDraw_Balloon|Balloon]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_VerticalExtentDimension.svg
|IconR=TechDraw_Balloon.svg
|IconC=Workbench_TechDraw.svg
}}
}}
<translate>
==Limitations== <!--T:7-->
# Dimension links are very sensitive to the "Topological Naming" problem. It is recommended that linking Dimensions be one of the last steps in your process.
# The Link tool will not stop you from making illogical links.
# There is currently no way to break a link. You can change the MeasureType back to Projected and the Dimension will use the Projected value instead of the True value.


{{TechDraw Tools navi}}
{{Userdocnavi}}
</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 11:17, 21 April 2024

The TechDraw LinkDimension tool is DEPRECATED and will be removed in a future version. It should only be used with old (< v0.19) FreeCAD versions and files.
In newer versions the TechDraw DimensionRepair tool should be used to change both 2D and 3D references.

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

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 LengthDimension, 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. There are several ways to invoke the tool:
  4. A task panel opens.
  5. Select one or more Dimensions to be linked to the selected 3D geometry.
  6. Press OK.

The link operation changes the DataMeasureType property of the dimension 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.

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.