TechDraw LengthDimension/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav
{{Docnav/ru
|[[TechDraw_ClipGroupRemove|ClipGroupRemove]]
|[[TechDraw_ClipGroupRemove/ru|Удалить Вид из группы]]
|[[TechDraw_Dimension_Horizontal|Dimension Horizontal]]
|[[TechDraw_HorizontalDimension/ru|Указать горизонтальный размер]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=TechDraw_ClipGroupRemove.svg
|IconL=TechDraw_ClipGroupRemove.svg
|IconR=TechDraw_Dimension_Horizontal.svg
|IconR=TechDraw_HorizontalDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name/ru=Указать длину
|Name=TechDraw Dimension Length
|Name=TechDraw_LengthDimension
|Name/ru=TechDraw Dimension Length
|MenuLocation=TechDraw → Размеры → Указать длину
|Workbenches=[[TechDraw_Module/ru|TechDraw]]
|Workbenches=[[TechDraw_Workbench/ru|TechDraw]]
|SeeAlso=[[TechDraw_Dimension_Horizontal/ru|TechDraw Dimension Horizontal]], [[TechDraw_Dimension_Vertical/ru|TechDraw Dimension Vertical]]
|SeeAlso=[[TechDraw_HorizontalDimension/ru|Указать горизонтальный размер]], [[TechDraw_VerticalDimension/ru|Указать вертикальный размер]]
}}
}}
</div>


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


The Dimension Length tool adds a linear dimension to a View. The dimension may be between the distance between two vertices, the length of one edge or the 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 [[Image:TechDraw_LengthDimension.svg|24px]] '''TechDraw LengthDimension''' tool adds a linear dimension to a View. The dimension may be between the distance between two vertices, the length of one edge or the 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_Length_example.png|220px]]
[[Image:TechDraw_Dimension_Length_example.png|220px]]
{{Caption|Расстояние указанное между двумя произвольными точками фигуры.}}
{{Caption|Length dimension taken from two arbitrary nodes of the view}}


==Применение==
==Usage==


# Select the points or edge which define your measurement.
# Select the points or edge which define your measurement.
# There are several ways to invoke the tool:
# Press the {{Button|[[Image:TechDraw_Dimension_Length.svg|20px]] [[TechDraw_Dimension_Length|Dimension Length]]}} button.
#* Press the {{Button|[[Image:TechDraw_LengthDimension.svg|16px]] [[TechDraw_LengthDimension|Insert Length Dimension]]}} button.
#* Select the {{MenuCommand|TechDraw → Dimensions → [[Image:TechDraw_LengthDimension.svg|16px]] Insert Length Dimension}} option from the menu.
# 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]].
Line 35: Line 38:
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 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 dimension dialog:


==Диалоговое окно указания размера==
==Dimension dialog==


Диалоговое окно указания размера содержит в себе следующие параметры:
The dimension dialog offers the following settings:


[[Image:TechDraw_DimensionDialog.png|frame|left]]
[[Image:TechDraw_DimensionDialog_ru.png|frame|left]]


===Tolerancing===
===Точность===


* '''Номинальный размер''': Если пункт установлен, это указывает, что размер является теоретически точным. Как таковой, он не должен иметь никаких допусков и его значение будет отображаться в прямоугольной рамке: [[Image:TechDraw_theoretically_exact.png|100px]]
* '''Theoretically Exact''': If checked, is specifies the dimension as theoretically exact dimension. As such, it shall not bear any tolerances. The dimension will be displayed by a frame around the value: [[Image:TechDraw_theoretically_exact.png|100px]]


* '''Equal Tolerance''': If checked, the over- and undertolerance are equal and the negated value of the overtolerance is used as undertolerance. The display will be [[Image:TechDraw_equal-tolerance.png|100px]], otherwise it will be [[Image:TechDraw_Non-equal-tolerance.png|80px]].
* '''Предельные отклонения симметричны''': Если пункт установлен, это означает, что верхнее и нижнее предельные отклонения равны. Выглядет такое значение будет как: [[Image:TechDraw_equal-tolerance.png|100px]], в противном же случае: [[Image:TechDraw_Non-equal-tolerance.png|80px]].


* '''Верхнее предельное отклонение''': Величина соответствующая разности между наибольшим предельным и номинальным размером.
* '''Overtolerance''': The amount by which the dimension may be larger.


* '''Нижнее предельное отклонение''': Величина соответствующая разности между наименьшим предельным и номинальным размером.
* '''Undertolerance''': The amount by which the dimension may be smaller.


===Форматирование===
===Formatting===


* '''Format Specifier''': How the dimension value will be formatted. By default the specifier is ''%.xf'' whereby ''x'' is the number of decimals. For the formatting syntax see [https://en.wikipedia.org/wiki/Printf_format_string this Wikipedia page].
* '''Format Specifier''': How the dimension value will be formatted. By default the specifier is {{Value|%.xf}} whereby {{Value|x}} is the number of decimals. For the formatting syntax see [https://en.wikipedia.org/wiki/Printf_format_string this Wikipedia page]. There is also an additional {{Value|%w}} format that prints the specified number of digits after the decimal separator and removes trailing zeros. For example, {{Value|%.2w}} means that at most 2 decimals will be printed and any trailing zeros will be cut off.


* '''Arbitrary Text''': If checked, the dimension is replaced by the content of the '''Format Specifier''' field.
* '''Arbitrary Text''': If checked, the dimension is replaced by the content of the '''Format Specifier''' field.


* '''OverTolerance Format Specifier''': How the overtolerance value will be formatted. By default the specifier is ''%.xf'' whereby ''x'' is the number of decimals. For the formatting syntax see [https://en.wikipedia.org/wiki/Printf_format_string this Wikipedia page].
* '''OverTolerance Format Specifier''': How the overtolerance value will be formatted. By default the specifier is {{Value|%.xf}} whereby {{Value|x}} is the number of decimals. For the formatting syntax see [https://en.wikipedia.org/wiki/Printf_format_string this Wikipedia page].


* '''UnderTolerance Format Specifier''': How the undertolerance value will be formatted. By default the specifier is ''%.xf'' whereby ''x'' is the number of decimals. For the formatting syntax see [https://en.wikipedia.org/wiki/Printf_format_string this Wikipedia page].
* '''UnderTolerance Format Specifier''': How the undertolerance value will be formatted. By default the specifier is {{Value|%.xf}} whereby {{Value|x}} is the number of decimals. For the formatting syntax see [https://en.wikipedia.org/wiki/Printf_format_string this Wikipedia page].


* '''Arbitrary Tolerance Text''': If checked, the tolerances are replaced by the content of the '''OverTolerance Format Specifier''' '''UnderTolerance Format Specifier''' fields.
* '''Arbitrary Tolerance Text''': If checked, the tolerances are replaced by the content of the '''OverTolerance Format Specifier''' '''UnderTolerance Format Specifier''' fields.


===Стиль отображения===
===Display Style===


* '''Изменить направление стрелок размера''': Меняет направление стрелок размерной линии на противоположное. По умолчанию стрелки находятся внутри размерной линии/дуги и направлены наружу.
* '''Flip Arrowheads''': Flips the direction in which the dimension line arrows are pointing. By default they are inside the dimension line/arc and pointing outwards.


* '''Color''': The color for lines and text.
* '''Цвет''': Цвет линий и текста.


* '''Размер шрифта''': Размер высоты символов текста.
* '''Font Size''': The dimension text size.


* '''Drawing Style''': The standard (and its style) according to which the dimension is drawn. See the property [[#View|'''Standard And Style''']] for details.
* '''Drawing Style''': The standard (and its style) according to which the dimension is drawn. See the property [[#View|'''Standard And Style''']] for details.


===Lines===
<div class="mw-translate-fuzzy">
== Properties ==
=== Data ===
* {{PropertyData|X}}: Horizontal position of the dimension text relative to the View.
* {{PropertyData|Y}}: Vertical position of the dimension text relative to the View.
* {{PropertyData|FormatSpec}}: Allows additional text to be added to the dimension text. Dimension value will replace %.2f (or other valid [https://en.wikipedia.org/wiki/Printf_format_string printf] format specifier).
* {{PropertyData|Type}}: Length,radius,diameter, etc. Not normally manipulated by the end user.
* {{PropertyData|MeasureType}}: "True" - based on 3D geometry or "Projected" - based on the drawing. Not normally manipulated directly by the end user.
* {{PropertyData|OverTolerance}}: The amount by which the piece may larger than the Dimension shown.
* {{PropertyData|UnderTolerance}}: The amount by which the piece may be smaller than the Dimension shown.
* {{PropertyData|Arbitrary}}: "True" - ignore actual value and display FormatSpec as value. "False" - use actual value.


* '''Override Angles''': If checked, the usual angles for the dimension line and extension lines will be overridden by the specified values.
=== View ===

* {{PropertyView|Font}}: The name of the font to use for the dimension text.
* '''Dimension line angle''': Override value for angle of dimension line with view X axis (in degrees).
* {{PropertyView|Fontsize}}: Dimension text size in mm.

* {{PropertyView|LineWidth}}: Dimension line weight.
* '''Use default''': Set dimension line angle to the usual angle.
* {{PropertyView|Color}}: Color for lines and text.

</div>
* '''Use selection''': Set dimension line angle to match the angle of the selected edge (or 2 vertices) in the view.

* '''Extension line angle''': Override value for angle of extension lines with view X axis (in degrees).

* '''Use default''': Set extension line angle to the usual angle.

* '''Use selection''': Set extension line angle to match the angle of the selected edge (or 2 vertices) in the view.

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


=== Data ===
=== Data ===

{{Properties_Title|Base}}
{{Properties_Title|Base}}

* {{PropertyData|X}}: Horizontal position of the dimension text relative to the View.
* {{PropertyData|X}}: Horizontal position of the dimension text relative to the View.
* {{PropertyData|Y}}: Vertical position of the dimension text relative to the View.
* {{PropertyData|Y}}: Vertical position of the dimension text relative to the View.
* {{PropertyData|Type}}: Length,radius,diameter, etc. Not normally manipulated by the end user.
* {{PropertyData|Type}}: Length,radius,diameter, etc. Not normally manipulated by the end user.
* {{PropertyData|Measure Type}}: How the measurement is performed. Not normally manipulated directly by the end user.
* {{PropertyData|Measure Type}}: How the measurement is performed. Not normally manipulated directly by the end user.
:: ''True'' - based on 3D geometry or
::<code>True</code> - based on 3D geometry or
:: ''Projected'' - based on the drawing
::<code>Projected</code> - based on the drawing
* {{PropertyData|Theoretical Exact}}: Specifies a theoretically exact (or basic) dimension.
* {{PropertyData|Theoretical Exact}}: Specifies a theoretically exact (or basic) dimension.
::{{FALSE}} - a common dimension by default, possibly with tolerances.
::{{FALSE}} - a common dimension by default, possibly with tolerances.
Line 113: Line 117:


{{Properties_Title|Format}}
{{Properties_Title|Format}}

* {{PropertyData|Format Spec}}: How the dimension value will be formatted. By default the specifier is ''%.xf'' whereby ''x'' is the number of decimals. For the formatting syntax see [https://en.wikipedia.org/wiki/Printf_format_string this Wikipedia page].
* {{PropertyData|Format Spec}}: How the dimension value will be formatted. See [[#Formatting|Formatting]].
* {{PropertyData|Format Spec Over Tolerance}}: Like {{PropertyData|Format Spec}}, but for overtolerances.
* {{PropertyData|Format Spec Over Tolerance}}: Like {{PropertyData|Format Spec}}, but for overtolerances.
* {{PropertyData|Format Spec Under Tolerance}}: Like {{PropertyData|Format Spec}}, but for undertolerances.
* {{PropertyData|Format Spec Under Tolerance}}: Like {{PropertyData|Format Spec}}, but for undertolerances.
Line 120: Line 125:
::{{TRUE}} - the content of the '''Format Spec''' will be displayed as text instead if the dimension value.
::{{TRUE}} - the content of the '''Format Spec''' will be displayed as text instead if the dimension value.
* {{PropertyData|Arbitrary Tolerances}}: Like {{PropertyData|Arbitrary}}, but for the tolerance.
* {{PropertyData|Arbitrary Tolerances}}: Like {{PropertyData|Arbitrary}}, but for the tolerance.

{{Properties_Title|Override}}

* {{PropertyData|AngleOverride}}: Whether the direction of dimension and extension lines is overridden.
::{{FALSE}} - the directions are computed as usual.
::{{TRUE}} - the directions are overridden by LineAngle and ExtensionAngle property values.
* {{PropertyData|LineAngle}}: angle of dimension line with view X axis (in degrees).
* {{PropertyData|ExtensionAngle}}: angle of extension line(s) with view X axis (in degrees).


=== View ===
=== View ===

{{Properties_Title|Base}}
{{Properties_Title|Base}}

* {{PropertyView|Visibility}}: Sets whether the dimension is visible. {{TRUE}} - visible, {{FALSE}} - hidden.
* {{PropertyView|Visibility}}: Sets whether the dimension is visible. {{TRUE}} - visible, {{FALSE}} - hidden.
{{Properties_Title|Dim Format}}
{{Properties_Title|Dim Format}}
Line 151: Line 166:
::{{TRUE}} - Override the automatically chosen direction and force the opposite one.
::{{TRUE}} - Override the automatically chosen direction and force the opposite one.


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


Dimension objects are vulnerable to the "[[topological_naming problem|topological naming problem]]". This means that if you modify the 3D geometry the faces and edges of the model may be renamed internally; if a dimension is attached to an edge that is then modified, the dimension may break. In general, it is not possible to keep the projected 2D dimensions synchronized with the actual 3D objects.
Dimension objects are vulnerable to the "[[Topological_naming_problem|topological naming problem]]". This means that if you modify the 3D geometry the faces and edges of the model may be renamed internally; if a dimension is attached to an edge that is then modified, the dimension may break. In general, it is not possible to keep the projected 2D dimensions synchronized with the actual 3D objects.


Therefore, it is recommended that dimensions be added when the 3D model is no longer being modified.
Therefore, it is recommended that dimensions be added when the 3D model is no longer being modified.
Line 164: Line 179:
* If the original 3D model is modified, the modifications won't affect the simple copy, nor the dimensions in the TechDraw view.
* If the original 3D model is modified, the modifications won't affect the simple copy, nor the dimensions in the TechDraw view.


See [[TechDraw_Dimension_Landmark|Landmark Dimensions]] for another approach to circumventing the topological naming issue.
See [[TechDraw_LandmarkDimension|Landmark Dimensions]] for another approach to circumventing the topological naming issue.


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


{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|См. так же:}} [[TechDraw_API/ru|TechDraw API]] и [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов FreeCAD]].


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


{{Code|code=
{{Code|code=
Line 179: Line 194:
}}
}}


==Примечания==
==Notes==


* '''Edge selection'''. Edges can be difficult to select. You can adjust the selection area for edges using the parameter "/Mod/TechDraw/General/EdgeFuzz" (see [[Std_DlgParameter|Std_DlgParameter]]). This is a dimension-less number. The default is 10.0. Values in the 20-30 range will make it noticeably easier to select edges. Large numbers will cause overlaps with other drawing elements.
* '''Edge selection'''. Edges can be difficult to select. You can adjust the selection area for edges using the parameter "/Mod/TechDraw/General/EdgeFuzz" (see [[Std_DlgParameter|Std_DlgParameter]]). This is a dimension-less number. The default is 10.0. Values in the 20-30 range will make it noticeably easier to select edges. Large numbers will cause overlaps with other drawing elements.
Line 186: Line 201:




<div class="mw-translate-fuzzy">
{{Docnav
{{Docnav/ru
|[[TechDraw_ClipGroupRemove|ClipGroupRemove]]
|[[TechDraw_ClipGroupRemove/ru|Удалить Вид из группы]]
|[[TechDraw_Dimension_Horizontal|Dimension Horizontal]]
|[[TechDraw_HorizontalDimension/ru|Указать горизонтальный размер]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=TechDraw_ClipGroupRemove.svg
|IconL=TechDraw_ClipGroupRemove.svg
|IconR=TechDraw_Dimension_Horizontal.svg
|IconR=TechDraw_HorizontalDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 09:27, 27 March 2022

Other languages:

Указать длину

Системное название
TechDraw_LengthDimension
Расположение в меню
TechDraw → Размеры → Указать длину
Верстаки
TechDraw
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Указать горизонтальный размер, Указать вертикальный размер

Описание

The TechDraw LengthDimension tool adds a linear dimension to a View. The dimension may be between the distance between two vertices, the length of one edge or the 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.

Расстояние указанное между двумя произвольными точками фигуры.

Применение

  1. Select the points or edge which define your measurement.
  2. There are several ways to invoke the tool:
    • Press the Insert Length Dimension button.
    • Select the TechDraw → Dimensions → Insert Length Dimension option from the menu.
  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:

Диалоговое окно указания размера

Диалоговое окно указания размера содержит в себе следующие параметры:

Точность

  • Номинальный размер: Если пункт установлен, это указывает, что размер является теоретически точным. Как таковой, он не должен иметь никаких допусков и его значение будет отображаться в прямоугольной рамке:
  • Предельные отклонения симметричны: Если пункт установлен, это означает, что верхнее и нижнее предельные отклонения равны. Выглядет такое значение будет как: , в противном же случае: .
  • Верхнее предельное отклонение: Величина соответствующая разности между наибольшим предельным и номинальным размером.
  • Нижнее предельное отклонение: Величина соответствующая разности между наименьшим предельным и номинальным размером.

Форматирование

  • Format Specifier: How the dimension value will be formatted. By default the specifier is %.xf whereby x is the number of decimals. For the formatting syntax see this Wikipedia page. There is also an additional %w format that prints the specified number of digits after the decimal separator and removes trailing zeros. For example, %.2w means that at most 2 decimals will be printed and any trailing zeros will be cut off.
  • Arbitrary Text: If checked, the dimension is replaced by the content of the Format Specifier field.
  • OverTolerance Format Specifier: How the overtolerance value will be formatted. By default the specifier is %.xf whereby x is the number of decimals. For the formatting syntax see this Wikipedia page.
  • UnderTolerance Format Specifier: How the undertolerance value will be formatted. By default the specifier is %.xf whereby x is the number of decimals. For the formatting syntax see this Wikipedia page.
  • Arbitrary Tolerance Text: If checked, the tolerances are replaced by the content of the OverTolerance Format Specifier UnderTolerance Format Specifier fields.

Стиль отображения

  • Изменить направление стрелок размера: Меняет направление стрелок размерной линии на противоположное. По умолчанию стрелки находятся внутри размерной линии/дуги и направлены наружу.
  • Цвет: Цвет линий и текста.
  • Размер шрифта: Размер высоты символов текста.
  • Drawing Style: The standard (and its style) according to which the dimension is drawn. See the property Standard And Style for details.

Lines

  • Override Angles: If checked, the usual angles for the dimension line and extension lines will be overridden by the specified values.
  • Dimension line angle: Override value for angle of dimension line with view X axis (in degrees).
  • Use default: Set dimension line angle to the usual angle.
  • Use selection: Set dimension line angle to match the angle of the selected edge (or 2 vertices) in the view.
  • Extension line angle: Override value for angle of extension lines with view X axis (in degrees).
  • Use default: Set extension line angle to the usual angle.
  • Use selection: Set extension line angle to match the angle of the selected edge (or 2 vertices) in the view.

Свойства

Data

Base

  • ДанныеX: Horizontal position of the dimension text relative to the View.
  • ДанныеY: Vertical position of the dimension text relative to the View.
  • ДанныеType: Length,radius,diameter, etc. Not normally manipulated by the end user.
  • ДанныеMeasure Type: How the measurement is performed. Not normally manipulated directly by the end user.
True - based on 3D geometry or
Projected - based on the drawing
  • ДанныеTheoretical Exact: Specifies a theoretically exact (or basic) dimension.
false - a common dimension by default, possibly with tolerances.
true - a theoretical value. As such, it shall not bear any tolerances. The dimension will be displayed by a frame around the value:
  • ДанныеEqual Tolerance: If over- and undertolerance are equal. Then the negated value of the overtolerance is used as undertolerance.
true - the negated value of the ДанныеOver Tolerance is used as ДанныеUnder Tolerance. The display will be
false - the ДанныеUnder Tolerance is taken into account. The display will be
  • ДанныеOver Tolerance: The amount by which the dimension may be larger.
  • ДанныеUnder Tolerance: The amount by which the dimension may be smaller.
  • ДанныеInverted: Marks whether the dimension represents a common or an inverted value.
false - the ordinary value is used. For length it is a positive number, for angle the oblique value (0° - 180°).
true - the inverted value is used. For length a negative number, for angle the reflex value (180° - 360°).

Format

  • ДанныеFormat Spec: How the dimension value will be formatted. See Formatting.
  • ДанныеFormat Spec Over Tolerance: Like ДанныеFormat Spec, but for overtolerances.
  • ДанныеFormat Spec Under Tolerance: Like ДанныеFormat Spec, but for undertolerances.
  • ДанныеArbitrary: Whether the dimension is replaced by the content of the Format Spec field.
false - the content of the Format Spec is used to format the actual dimensional value.
true - the content of the Format Spec will be displayed as text instead if the dimension value.
  • ДанныеArbitrary Tolerances: Like ДанныеArbitrary, but for the tolerance.

Override

  • ДанныеAngleOverride: Whether the direction of dimension and extension lines is overridden.
false - the directions are computed as usual.
true - the directions are overridden by LineAngle and ExtensionAngle property values.
  • ДанныеLineAngle: angle of dimension line with view X axis (in degrees).
  • ДанныеExtensionAngle: angle of extension line(s) with view X axis (in degrees).

View

Base

  • ВидVisibility: Sets whether the dimension is visible. true - visible, false - hidden.

Dim Format

  • ВидFont: The name of the font to use for the dimension text.
  • ВидFont Size: Dimension text size.
  • ВидLine Width: Dimension line weight.
  • ВидColor: Color for lines and text.
  • ВидStandard And Style: Specifies the standard (and its style) according to which the dimension is drawn:
Differences between the supported standards
ISO Oriented - drawn according to the standard ISO 129-1, text is rotated to be parallel with the dimension line tangent.
ISO Referencing - drawn in compliance with ISO 129-1, text is always horizontal, above the shortest possible reference line.
ASME Inlined - drawn according to the standard ASME Y14.5M, text is horizontal, inserted in a break within the dimension line or arc.
ASME Referencing - drawn in compliance with ASME Y14.5M, text is horizontal, short reference line is attached to one side's vertical center.
  • ВидRendering Extent: Rather universal property specifying how much space the dimension drawing may take up:
None - no lines or arrows are drawn, only the bare dimension value is displayed.
Minimal - for lengths and angles a single headed line connecting the dimensional value and the end point's virtual extension line is drawn. The extension line itself is not added.
Diameters are rendered following Confined extent, radii following Reduced extent.
Confined - for lengths and angles a double headed line (or arc) connecting the start and end point's virtual extension lines is drawn, though the extension lines themselves are not added.
Diameters are drawn with a minimal single headed line from dimensional value to the closest point on circle, radii as with Reduced extent.
Reduced - for lengths and angles a single headed line connecting the dimensional value and the end point's extension line is drawn along with the extension line itself.
Diameters are drawn with a single headed line from the center to the closest point on circle, radii with a minimal single headed line from dimensional value to the closest arc point.
Normal - the default value. For lengths and angles a double headed line (or arc) connecting the start and end point's extension lines is drawn, the extension lines themselves as well.
Diameters are drawn as double headed lines striking the center and connecting the closest and farthest points on the circle.
Radii are drawn as a single headed line from center to the closest arc point.
Expanded - Only diameters support this value, rendering them in a horizontal or vertical length-like way. Other dimension types are rendered as with Normal extent.
  • ВидFlip Arrowheads: By default the value inside the dimension line/arc means the arrows pointing outwards. If placed outside the dimension line/arc, the arrows point inwards the dimension line/arc.
false - Let the direction of arrows to be selected automatically according to the rule above.
true - Override the automatically chosen direction and force the opposite one.

Ограничения

Dimension objects are vulnerable to the "topological naming problem". This means that if you modify the 3D geometry the faces and edges of the model may be renamed internally; if a dimension is attached to an edge that is then modified, the dimension may break. In general, it is not possible to keep the projected 2D dimensions synchronized with the actual 3D objects.

Therefore, it is recommended that dimensions be added when the 3D model is no longer being modified.

Workaround

If you want to keep a TechDraw view with dimensions that won't break, you need to dimension an object that won't change.

  • Select the object that you want to project, then switch to the Part Workbench and use Part → Create simple copy. This will create a single object that is not parametric, that is, no longer editable.
  • Select this copy, then use TechDraw View, and add the desired dimensions.
  • If the original 3D model is modified, the modifications won't affect the simple copy, nor the dimensions in the TechDraw view.

See Landmark Dimensions for another approach to circumventing the topological naming issue.

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

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

The Length 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 = "Distance"
dim1.References2D=[(view1, 'Edge1')]
rc = page.addView(dim1)

Примечания

  • Edge selection. Edges can be difficult to select. You can adjust the selection area for edges using the parameter "/Mod/TechDraw/General/EdgeFuzz" (see Std_DlgParameter). This is a dimension-less number. The default is 10.0. Values in the 20-30 range will make it noticeably easier to select edges. Large numbers will cause overlaps with other drawing elements.
  • Decimal places. Dimensions use the global decimal places setting by default. This can be changed via preferences or by changing the FormatSpec property.
  • Multiple objects. Views may contain multiple 3D objects as Source. Dimensions may be applied to geometry from any object(s) in the View (ex from Object1.Vertex0 to Object2.Vertex3).