TechDraw HorizontalDimension: Difference between revisions

From FreeCAD Documentation
m (Changed section to 'Usage')
(Marked this version for translation)
 
(34 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:18-->
<!--T:18-->
{{Docnav
{{Docnav
|[[TechDraw_LengthDimension|LengthDimension]]
|[[TechDraw_Dimension_Length|New Length]]
|[[TechDraw_VerticalDimension|VerticalDimension]]
|[[TechDraw_Dimension_Vertical|New Vertical]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=Techdraw_Dimension_Length.png
|IconL=TechDraw_LengthDimension.svg
|IconR=TechDraw_VerticalDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=Techdraw_Dimension_Vertical.png
}}
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw Dimension Horizontal
|Name=TechDraw HorizontalDimension
|MenuLocation=TechDraw → Dimension Horizontal
|MenuLocation=TechDraw → Dimensions → Insert Horizontal Dimension
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Shortcut={{KEY|Shift}} + {{KEY|H}}
|SeeAlso=[[TechDraw Dimension Length|TechDraw Dimension Length]], [[TechDraw Dimension Vertical|TechDraw Dimension Vertical]]
|SeeAlso=[[TechDraw_LengthDimension|TechDraw LengthDimension]], [[TechDraw_VerticalDimension|TechDraw VerticalDimension]]
}}
}}


Line 22: 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_Dimension_Link.svg|16px]] [[TechDraw_Dimension_Link|Link Dimension]]}} 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>
[[Image:TechDraw_Dimension_Horizontal_example.png]]
[[Image:TechDraw_Dimension_Horizontal_example.png|200px]]
<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:Dimension_Horizontal.png|16px]] [[TechDraw Dimension Horizontal|Dimension Horizontal]]}} button
# A dimension will be added to the View. The dimension may be dragged to the desired position.

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

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

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

<!--T:13-->
This object has the same properties as the [[TechDraw Dimension Length|TechDraw Dimension Length]] tool. See that tool for details.

==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>




<!--T:19-->
<!--T:19-->
{{Docnav
{{Docnav
|[[TechDraw_LengthDimension|LengthDimension]]
|[[TechDraw_Dimension_Length|New Length]]
|[[TechDraw_VerticalDimension|VerticalDimension]]
|[[TechDraw_Dimension_Vertical|New Vertical]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=Techdraw_Dimension_Length.png
|IconL=TechDraw_LengthDimension.svg
|IconR=TechDraw_VerticalDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=Techdraw_Dimension_Vertical.png
}}
}}


<!--T:16-->
{{TechDraw Tools navi}}

<!--T:17-->
{{Userdocnavi}}
</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

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