TechDraw HorizontalDimension/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 5: Line 5:
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_Length.svg
|IconL=TechDraw_Dimension_Length.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_Vertical.svg
|IconR=TechDraw_Dimension_Vertical.svg
|IconC=Workbench_TechDraw.svg
}}
}}


Line 30: Line 30:


# 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_Dimension_Horizontal.svg|16px]] [[TechDraw_Dimension_Horizontal|Dimension Horizontal]]}} 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.


== 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 "topological naming" issues. See the information in the [[TechDraw_Dimension_Length|TechDraw Dimension Length]] tool for more information.


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 42: Line 42:
</div>
</div>


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


==Scripting==
==Scripting==


{{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 Dimension Horizontal tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:


{{Code|code=
{{Code|code=
Line 63: Line 63:
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_Length.svg
|IconL=TechDraw_Dimension_Length.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_Vertical.svg
|IconR=TechDraw_Dimension_Vertical.svg
|IconC=Workbench_TechDraw.svg
}}
}}



Revision as of 20:19, 13 December 2020

Other languages:

TechDraw Dimension Horizontal

Системное название
TechDraw Dimension Horizontal
Расположение в меню
TechDraw → Dimension Horizontal
Верстаки
TechDraw
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Нет

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 Link Dimension 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 Dimension Horizontal button
  3. A dimension will be added to the View. The dimension may be dragged to the desired position.

Limitations

Dimension objects are vulnerable to "topological naming" issues. See the information in the TechDraw Dimension Length tool for more information.

Properties

This object has the same properties as the TechDraw Dimension Length tool. See that tool for details.

This object has the same properties as the TechDraw Dimension Length tool. See that tool for details.

Scripting

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:

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