TechDraw RadiusDimension: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 7: Line 7:
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_Vertical.svg
|IconL=TechDraw_Dimension_Vertical.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_Diameter.svg
|IconR=TechDraw_Dimension_Diameter.svg
|IconC=Workbench_TechDraw.svg
}}
}}


Line 15: Line 15:
|Name=TechDraw Dimension Radius
|Name=TechDraw Dimension Radius
|MenuLocation=TechDraw → Dimension Radius
|MenuLocation=TechDraw → Dimension Radius
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw_Module|TechDraw]]
|SeeAlso=[[TechDraw Dimension Diameter|TechDraw Dimension Diameter]]
|SeeAlso=[[TechDraw_Dimension_Diameter|TechDraw Dimension Diameter]]
}}
}}


Line 35: Line 35:
<!--T:10-->
<!--T:10-->
# Select a circle or circular arc in the drawing. (Note some arcs which appear to be circular are actually ellipses or BSplines. You cannot make a radius dimension in these cases)
# Select a circle or circular arc in the drawing. (Note some arcs which appear to be circular are actually ellipses or BSplines. You cannot make a radius dimension in these cases)
# Press the {{Button|[[Image:TechDraw_Dimension_Radius.svg|16px]] [[TechDraw Dimension Radius|Dimension Radius]]}} button
# Press the {{Button|[[Image:TechDraw_Dimension_Radius.svg|16px]] [[TechDraw_Dimension_Radius|Dimension Radius]]}} 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.


Line 41: Line 41:


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


==Properties== <!--T:5-->
==Properties== <!--T:5-->


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


<!--T:14-->
<!--T:14-->
{{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]].


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


</translate>
</translate>
Line 72: Line 72:
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_Vertical.svg
|IconL=TechDraw_Dimension_Vertical.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_Diameter.svg
|IconR=TechDraw_Dimension_Diameter.svg
|IconC=Workbench_TechDraw.svg
}}
}}



Revision as of 21:57, 2 December 2020

TechDraw Dimension Radius

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

Description

The Dimension Radius tool adds a radius dimension to a View. The dimension may be applied to any Edge in the drawing which is a circle or circular arc. 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.


Measuring a circle, indicating the radius

Usage

  1. Select a circle or circular arc in the drawing. (Note some arcs which appear to be circular are actually ellipses or BSplines. You cannot make a radius dimension in these cases)
  2. Press the Dimension Radius 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.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

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