TechDraw HorizontalDimension/pl: Difference between revisions

From FreeCAD Documentation
m (FuzzyBot moved page TechDraw Dimension Horizontal/pl to TechDraw HorizontalDimension/pl without leaving a redirect: Part of translatable page "TechDraw Dimension Horizontal")
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|[[TechDraw_LengthDimension|LengthDimension]]
|[[TechDraw_Dimension_Length|Dimension Length]]
|[[TechDraw_VerticalDimension|VerticalDimension]]
|[[TechDraw_Dimension_Vertical|Dimension Vertical]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Dimension_Length.svg
|IconL=TechDraw_LengthDimension.svg
|IconR=TechDraw_Dimension_Vertical.svg
|IconR=TechDraw_VerticalDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}


{{GuiCommand
{{GuiCommand
|Name=TechDraw Dimension Horizontal
|Name=TechDraw HorizontalDimension
|MenuLocation=TechDraw → Dimensions → Insert Horizontal Dimension
|MenuLocation=TechDraw → Dimensions → Insert Horizontal Dimension
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Shortcut={{KEY|Shift}} + {{KEY|H}}
|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]]
}}
}}


==Description==
==Description==


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 Horizontal Dimension 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.


[[Image:TechDraw_Dimension_Horizontal_example.png|200px]]
[[Image:TechDraw_Dimension_Horizontal_example.png|200px]]
Line 27: Line 28:


# Select the points or edge which define your measurement.
# Select the points or edge which define your measurement.
# Press the {{Button|[[Image:TechDraw_Dimension_Horizontal.svg|16px]] [[TechDraw_Dimension_Horizontal|Dimension Horizontal]]}} button
# 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.
# 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]].
# If needed, add tolerances as described in [[TechDraw_Geometric_dimensioning_and_tolerancing#Tolerances|this page]].


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_Dimension_Length#Dimension_dialog|dimension dialog]].
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 ==
== Limitations ==


Dimension objects are vulnerable to "topological naming" issues. See the information in the [[TechDraw_Dimension_Length|TechDraw Dimension Length]] tool for more information.
Dimension objects are vulnerable to the "[[Topological_naming_problem|topological naming problem]]". See [[TechDraw_LengthDimension|TechDraw LengthDimension]] for more information.


==Properties==
==Properties==


See [[TechDraw_LengthDimension#Properties|TechDraw LengthDimension]].
This object has the same properties as the [[TechDraw_Dimension_Length|TechDraw Dimension Length]] tool. See that tool for details.


==Scripting==
==Scripting==
Line 45: Line 46:
{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


The Dimension Horizontal tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
The Horizontal Dimension tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:


{{Code|code=
{{Code|code=
Line 56: Line 57:


{{Docnav
{{Docnav
|[[TechDraw_LengthDimension|LengthDimension]]
|[[TechDraw_Dimension_Length|Dimension Length]]
|[[TechDraw_VerticalDimension|VerticalDimension]]
|[[TechDraw_Dimension_Vertical|Dimension Vertical]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Dimension_Length.svg
|IconL=TechDraw_LengthDimension.svg
|IconR=TechDraw_Dimension_Vertical.svg
|IconR=TechDraw_VerticalDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
Line 66: Line 67:
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 19:30, 15 September 2021

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 Horizontal Dimension 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 TechDraw LinkDimension tool.

Length dimension taken from two arbitrary nodes of the view; the distance is measured horizontally

Usage

  1. Select the points or edge which define your measurement.
  2. Press the Horizontal Dimension button
  3. A dimension will be added to the View. The dimension may be dragged to the desired position.
  4. If needed, add tolerances as described in this page.

To change the properties of a dimension object either double-clicking it in the drawing or in the Tree view. This will open the dimension dialog.

Limitations

Dimension objects are vulnerable to the "topological naming problem". See TechDraw LengthDimension for more information.

Properties

See TechDraw LengthDimension.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

The Horizontal Dimension tool can be used in macros and from the Python console by using the following functions:

dim1 = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDimension','Dimension')
dim1.Type = "DistanceX"
dim1.References2D=[(view1, 'Edge1')]
rc = page.addView(dim1)