TechDraw DiameterDimension: Difference between revisions

From FreeCAD Documentation
(Vertical GuiCommand; removed empty parameter; see also TechDraw Dimension Radius)
(Marked this version for translation)
 
(33 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:18-->
{{Docnav
|[[TechDraw_RadiusDimension|RadiusDimension]]
|[[TechDraw_AngleDimension|AngleDimension]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_RadiusDimension.svg
|IconR=TechDraw_AngleDimension.svg
|IconC=Workbench_TechDraw.svg
}}

<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw Dimension Diameter
|Name=TechDraw DiameterDimension
|MenuLocation=TechDraw → Dimension Diameter
|MenuLocation=TechDraw → Dimensions → Insert Diameter Dimension
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw_Workbench|TechDraw]]
|SeeAlso=[[TechDraw Dimension Radius]]
|SeeAlso=[[TechDraw_RadiusDimension|TechDraw RadiusDimension]]
}}
}}


==Description== <!--T:2-->
==Description== <!--T:2-->
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 Link Dimension [[Image:LinkDimension.png|24px]] tool.
[[File:DiameterSample.png|200px|center]]


==How to use== <!--T:3-->
<!--T:8-->
The '''TechDraw DiameterDimension''' tool adds a diameter dimension to a View. The dimension may be applied to any edge which is a circle or circular arc.
# 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 {{KEY|[[Image:Dimension_Diameter.png|24px]] [[TechDraw Dimension Diameter|Dimension Diameter]]}} button
# A dimension will be added to the View. The dimension may be dragged to the desired position.


==Options== <!--T:4-->
<!--T:21-->
For more information see [[TechDraw_RadiusDimension|TechDraw RadiusDimension]].
None.

==Properties== <!--T:5-->
{{TechDraw DimProps}}

==Scripting== <!--T:6-->
{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].

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


</translate>
</translate>
[[Image:TechDraw_Dimension_Diameter_example.png|130px]]
{{Code|code=
dim1 = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDimension','Dimension')
dim1.Type = "Diameter"
dim1.References2D=[(view1, 'Edge1')]
rc = page.addView(dim1)
}}
<translate>
<translate>
<!--T:9-->
{{Caption|Measuring a circle, indicating the diameter}}


==Notes== <!--T:7-->
* All Dimensions are extremely vulnerable to the infamous "topological naming" issue. It is not possible at this time to keep references to 2D (projected) or 3D (actual) geometrical objects in sync with changes in the model. It is recommended that Dimensions be added towards the end of the drawing creation process.


<!--T:19-->
{{TechDraw Tools navi}}
{{Docnav
{{Userdocnavi}}
|[[TechDraw_RadiusDimension|RadiusDimension]]
|[[TechDraw_AngleDimension|AngleDimension]]
|[[TechDraw_Workbench|TechDraw]]
|IconL=TechDraw_RadiusDimension.svg
|IconR=TechDraw_AngleDimension.svg
|IconC=Workbench_TechDraw.svg
}}

</translate>
</translate>
{{TechDraw Tools navi{{#translation:}}}}
{{clear}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 08:59, 26 July 2023

TechDraw DiameterDimension

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

Description

The TechDraw DiameterDimension tool adds a diameter dimension to a View. The dimension may be applied to any edge which is a circle or circular arc.

For more information see TechDraw RadiusDimension.

Measuring a circle, indicating the diameter