TechDraw HorizontalDimension: Difference between revisions

From FreeCAD Documentation
(Removed the template as it complicates the translations; instead, see the other tool for the options)
(Marked this version for translation)
 
(46 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:18-->
{{Docnav
|[[TechDraw_LengthDimension|LengthDimension]]
|[[TechDraw_VerticalDimension|VerticalDimension]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_LengthDimension.svg
|IconR=TechDraw_VerticalDimension.svg
|IconC=Workbench_TechDraw.svg
}}

<!--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 Vertical]]
|SeeAlso=[[TechDraw_LengthDimension|TechDraw LengthDimension]], [[TechDraw_VerticalDimension|TechDraw VerticalDimension]]
}}
}}


==Description== <!--T:2-->
==Description== <!--T:2-->

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]] Link Dimension}} tool.
<!--T:8-->
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:HorizontalSample.png]]
[[Image:TechDraw_Dimension_Horizontal_example.png|200px]]
<translate>
<translate>
<!--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}}


==How to use== <!--T:3-->
# 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.


==Options== <!--T:4-->
<!--T:19-->
{{Docnav
None.
|[[TechDraw_LengthDimension|LengthDimension]]

|[[TechDraw_VerticalDimension|VerticalDimension]]
==Properties== <!--T:5-->
|[[TechDraw_Workbench|TechDraw]]

|IconL=TechDraw_LengthDimension.svg
This object has the same properties as the [[TechDraw Dimension Length]] tool. See that tool for details.
|IconR=TechDraw_VerticalDimension.svg

|IconC=Workbench_TechDraw.svg
==Scripting== <!--T:6-->
{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].

The Dimension Horizontal tool can be used in [[macros]] and from the [[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>

==Notes== <!--T:7-->
* All Dimensions are extremely vulnerable to the infamous "topological naming" issue. It is not possible at this time to keep references to 2D (projected) or 3D (actual) geometrical objects in sync with changes in the model. It is recommended that Dimensions be added towards the end of the drawing creation process.


{{TechDraw Tools navi}}
{{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