TechDraw DiameterDimension: Difference between revisions

From FreeCAD Documentation
m (Roy 043 moved page TechDraw Dimension Diameter to TechDraw DiameterDimension without leaving a redirect: Part of translatable page "TechDraw Dimension Diameter")
(Updated to match new page names.)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:18-->
<!--T:18-->
{{Docnav
{{Docnav
|[[TechDraw_RadiusDimension|RadiusDimension]]
|[[TechDraw_Dimension_Radius|Dimension Radius]]
|[[TechDraw_AngleDimension|AngleDimension]]
|[[TechDraw_Dimension_Angle|Dimension Angle]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Dimension_Radius.svg
|IconL=TechDraw_RadiusDimension.svg
|IconR=TechDraw_Dimension_Angle.svg
|IconR=TechDraw_AngleDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
Line 13: Line 14:
<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw Dimension Diameter
|Name=TechDraw DiameterDimension
|MenuLocation=TechDraw → Dimensions → Insert Diameter Dimension
|MenuLocation=TechDraw → Dimensions → Insert Diameter Dimension
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|SeeAlso=[[TechDraw_Dimension_Radius|TechDraw Dimension Radius]]
|SeeAlso=[[TechDraw_RadiusDimension|TechDraw RadiusDimension]]
}}
}}


Line 22: Line 23:


<!--T:8-->
<!--T:8-->
The Dimension Diameter tool adds a diameter dimension to a View. The dimension may be applied to any circular in the drawing. 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 Diameter Dimension tool adds a diameter dimension to a View. The dimension may be applied to any circular in the drawing. 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.


</translate>
</translate>
Line 34: Line 35:
<!--T:10-->
<!--T:10-->
# Select a circular edge in the drawing. (Note some arcs which appear to be circular are actually ellipses or BSplines. You cannot make a diameter dimension in these cases)
# Select a circular edge in the drawing. (Note some arcs which appear to be circular are actually ellipses or BSplines. You cannot make a diameter dimension in these cases)
# Press the {{Button|[[Image:TechDraw_Dimension_Diameter.svg|16px]] [[TechDraw_Dimension_Diameter|Dimension Diameter]]}} button
# Press the {{Button|[[Image:TechDraw_DiameterDimension.svg|16px]] [[TechDraw_DiameterDimension|Diameter 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]].


<!--T:20-->
<!--T:20-->
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 == <!--T:11-->
== Limitations == <!--T:11-->


<!--T:12-->
<!--T:12-->
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== <!--T:5-->
==Properties== <!--T:5-->


<!--T:13-->
<!--T:13-->
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== <!--T:6-->
==Scripting== <!--T:6-->
Line 57: Line 58:


<!--T:15-->
<!--T:15-->
The Dimension Diameter tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
The Diameter Dimension tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:


</translate>
</translate>
Line 71: Line 72:
<!--T:19-->
<!--T:19-->
{{Docnav
{{Docnav
|[[TechDraw_RadiusDimension|RadiusDimension]]
|[[TechDraw_Dimension_Radius|Dimension Radius]]
|[[TechDraw_AngleDimension|AngleDimension]]
|[[TechDraw_Dimension_Angle|Dimension Angle]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_Dimension_Radius.svg
|IconL=TechDraw_RadiusDimension.svg
|IconR=TechDraw_Dimension_Angle.svg
|IconR=TechDraw_AngleDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
Line 82: Line 83:
{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 17:34, 15 September 2021

TechDraw DiameterDimension

Menu location
TechDraw → Dimensions → Insert Diameter Dimension
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
See also
TechDraw RadiusDimension

Description

The Diameter Dimension tool adds a diameter dimension to a View. The dimension may be applied to any circular in the drawing. 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.

Measuring a circle, indicating the diameter

Usage

  1. Select a circular edge in the drawing. (Note some arcs which appear to be circular are actually ellipses or BSplines. You cannot make a diameter dimension in these cases)
  2. Press the Diameter 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 Diameter 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 = "Diameter"
dim1.References2D=[(view1, 'Edge1')]
rc = page.addView(dim1)