TechDraw HorizontalDimension: Difference between revisions

From FreeCAD Documentation
No edit summary
(Marked this version for translation)
 
(8 intermediate revisions by the same user not shown)
Line 24: Line 24:


<!--T:8-->
<!--T:8-->
The '''TechDraw HorizontalDimension''' 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-->

See [[TechDraw_LengthDimension#Usage|TechDraw LengthDimension]].

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

See [[TechDraw_LengthDimension#Limitations|TechDraw LengthDimension]].

== Notes ==

See [[TechDraw_LengthDimension#Notes|TechDraw LengthDimension]].

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

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

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

<!--T:14-->
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--T:15-->
The Horizontal Dimension 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