TechDraw HorizontalExtentDimension/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "!!FUZZY!!{{Docnav/ru |Dimension Angle3Pt |Dimension Vertical Extent |TechDraw_Workbench/ru|Ве...")
(Updating to match new version of source page)
Line 13: Line 13:


{{GuiCommand
{{GuiCommand
|Name=TechDraw Dimension Horizontal Extent
|Name=TechDraw HorizontalExtentDimension
|MenuLocation=TechDraw → Dimensions → Insert Horizontal Extent Dimension
|MenuLocation=TechDraw → Dimensions → Insert Horizontal Extent Dimension
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Version=0.19
|Version=0.19
|SeeAlso=[[TechDraw_Dimension_Length|TechDraw Dimension Length]], [[TechDraw_Dimension_Vertical_Extent|TechDraw Dimension Vertical Extent]]
|SeeAlso=[[TechDraw_LengthDimension|TechDraw LengthDimension]], [[TechDraw_VerticalExtentDimension|TechDraw VerticalExtentDimension]]
}}
}}


==Описание==
==Описание==


The Dimension Horizontal Extent tool adds a linear dimension to a View. The dimension extends from the left most point on the selected objects to the right most point. A CosmeticVertex will be placed at each point.
The Horizontal Extent Dimension tool adds a linear dimension to a View. The dimension extends from the left most point on the selected objects to the right most point. A CosmeticVertex will be placed at each point.


[[Image:TechDraw_Dimension_Horizontal_Extent_example.png|400px]]
[[Image:TechDraw_Dimension_Horizontal_Extent_example.png|400px]]
Line 30: Line 30:


# Select a View or a collection of Edges in a View.
# Select a View or a collection of Edges in a View.
# Press the {{Button|[[Image:TechDraw_Dimension_Horizontal_Extent.svg|16px]] [[TechDraw_Dimension_Horizontal_Extent|Dimension Horizontal Extent]]}} button
# Press the {{Button|[[Image:TechDraw_HorizontalExtentDimension.svg|16px]] [[TechDraw_HorizontalExtentDimension|Horizontal Extent 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.


== Ограничения ==
== Ограничения ==


Dimension objects are vulnerable to "[[topological_naming_problem|topological naming]]" issues. See the information in the {{Button|[[Image:TechDraw_Dimension_Length.svg|16px]] [[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.


==Свойства==
==Свойства==


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


=== Данные ===
=== Данные ===
Line 49: Line 49:
{{Emphasis|См. так же:}} [[TechDraw_API/ru|TechDraw API]] и [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов FreeCAD]].
{{Emphasis|См. так же:}} [[TechDraw_API/ru|TechDraw API]] и [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов FreeCAD]].


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


{{Code|code=
{{Code|code=
Line 71: Line 71:
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 19:33, 15 September 2021

Other languages:

TechDraw HorizontalExtentDimension

Menu location
TechDraw → Dimensions → Insert Horizontal Extent Dimension
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw LengthDimension, TechDraw VerticalExtentDimension

Описание

The Horizontal Extent Dimension tool adds a linear dimension to a View. The dimension extends from the left most point on the selected objects to the right most point. A CosmeticVertex will be placed at each point.

Horizontal Extent dimension of BSpline Face

Применение

  1. Select a View or a collection of Edges in a View.
  2. Press the Horizontal Extent Dimension button
  3. A dimension will be added to the View. The dimension may be dragged to the desired position.

Ограничения

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

Свойства

See TechDraw LengthDimension. Exceptions noted below.

Данные

  • ДанныеMeasureType: true - based on 3D geometry or "Projected" - based on the drawing. Not normally manipulated directly by the end user. Not yet implemented for Dimension Horizontal Extent.

Программирование

См. так же: TechDraw API и Основы составления скриптов FreeCAD.

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

selection = [(view1, 'Edge1'), (view1, 'Edge2')]  #or [] for all
hExtentDim = TechDraw.Dimension.makeExtentDim(selection, HORIZONTAL)
rc = page.addView(hExtentDim)