TechDraw HorizontalDimension: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
 
(16 intermediate revisions by 2 users not shown)
Line 24: Line 24:


<!--T:8-->
<!--T:8-->
The Dimension Horizontal tool adds a horizontal dimension to a View. The dimension may be between two vertices, the length of one edge or the horizontal distance between 2 edges. The distance will initially be the projected distance (ie as shown on the drawing), but this may be changed to the actual 3D distance using the {{Button|[[Image:TechDraw_LinkDimension.svg|16px]] [[TechDraw_LinkDimension|TechDraw LinkDimension]]}} tool.
The '''TechDraw HorizontalDimension''' tool adds a horizontal dimension to a View. The dimension may be the horizontal distance between two points or the horizontal length of a straight edge. As with the [[TechDraw_LengthDimension|TechDraw LengthDimension]] tool it is also possible to select two edges or a point and an edge, but these options make less sense for this tool.

<!--T:21-->
For more information see [[TechDraw_LengthDimension|TechDraw LengthDimension]].


</translate>
</translate>
Line 30: Line 33:
<translate>
<translate>
<!--T:9-->
<!--T:9-->
{{Caption|Length dimension taken from two arbitrary nodes of the view; the distance is measured horizontally}}
{{Caption|Horizontal dimension taken from two points}}

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

<!--T:10-->
# Select the points or edge which define your measurement.
# Press the {{Button|[[Image:TechDraw_HorizontalDimension.svg|16px]] [[TechDraw_HorizontalDimension|Horizontal Dimension]]}} button
# A dimension will be added to the View. The dimension may be dragged to the desired position.
# If needed, add tolerances as described in [[TechDraw_Geometric_dimensioning_and_tolerancing#Tolerances|this page]].

<!--T:20-->
To change the properties of a dimension object either double-clicking it in the drawing or in the [[Tree_view|Tree view]]. This will open the [[TechDraw_LengthDimension#Dimension_dialog|dimension dialog]].

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

<!--T:12-->
Dimension objects are vulnerable to "topological naming" issues. See the information in the [[TechDraw_LengthDimension|TechDraw LengthDimension]] tool for more information.

==Properties== <!--T:5-->

<!--T:13-->
See [[TechDraw_LengthDimension#Properties|TechDraw LengthDimension]].

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

<!--T:14-->
{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--T:15-->
The Dimension Horizontal tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:

</translate>
{{Code|code=
dim1 = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDimension','Dimension')
dim1.Type = "DistanceX"
dim1.References2D=[(view1, 'Edge1')]
rc = page.addView(dim1)
}}
<translate>





Latest revision as of 06:46, 26 July 2023

TechDraw HorizontalDimension

Menu location
TechDraw → Dimensions → Insert Horizontal Dimension
Workbenches
TechDraw
Default shortcut
Shift + H
Introduced in version
-
See also
TechDraw LengthDimension, TechDraw VerticalDimension

Description

The TechDraw HorizontalDimension tool adds a horizontal dimension to a View. The dimension may be the horizontal distance between two points or the horizontal length of a straight edge. As with the TechDraw LengthDimension tool it is also possible to select two edges or a point and an edge, but these options make less sense for this tool.

For more information see TechDraw LengthDimension.

Horizontal dimension taken from two points