TechDraw 3PtAngleDimension: 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_Angle.svg
|IconL=TechDraw_Dimension_Angle.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_Link.svg
|IconR=TechDraw_Dimension_Link.svg
|IconC=Workbench_TechDraw.svg
}}
}}


Line 15: Line 15:
|Name=TechDraw Dimension Angle3Pt
|Name=TechDraw Dimension Angle3Pt
|MenuLocation=TechDraw → Dimension Angle3Pt
|MenuLocation=TechDraw → Dimension Angle3Pt
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw_Module|TechDraw]]
|SeeAlso=[[TechDraw Dimension Angle|TechDraw Dimension Angle]]
|Version=0.18
|Version=0.18
|SeeAlso=[[TechDraw_Dimension_Angle|TechDraw Dimension Angle]]
}}
}}


Line 35: Line 35:
<!--T:9-->
<!--T:9-->
# Select the points or edge which define your measurement.
# Select the points or edge which define your measurement.
# Press the {{Button|[[Image:TechDraw_Dimension_Angle3Pt.png|16px]] [[TechDraw Dimension Angle3Pt|Dimension Angle3Pt]]}} button
# Press the {{Button|[[Image:TechDraw_Dimension_Angle3Pt.png|16px]] [[TechDraw_Dimension_Angle3Pt|Dimension Angle3Pt]]}} 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:16-->
<!--T:16-->
Dimension objects are vulnerable to "[[topological naming problem|topological naming]]" issues. See the information in the [[Image:TechDraw_Dimension_Length.svg|16px]] [[TechDraw Dimension Length|TechDraw Dimension Length]] tool for more information.
Dimension objects are vulnerable to "[[topological_naming_problem|topological naming]]" issues. See the information in the [[Image:TechDraw_Dimension_Length.svg|16px]] [[TechDraw_Dimension_Length|TechDraw Dimension Length]] tool for more information.


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


<!--T:17-->
<!--T:17-->
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:18-->
<!--T:18-->
{{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:19-->
<!--T:19-->
The Dimension Angle3Pt tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following functions:
The Dimension Angle3Pt 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_Angle.svg
|IconL=TechDraw_Dimension_Angle.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_Link.svg
|IconR=TechDraw_Dimension_Link.svg
|IconC=Workbench_TechDraw.svg
}}
}}



Revision as of 22:01, 2 December 2020

TechDraw Dimension Angle3Pt

Menu location
TechDraw → Dimension Angle3Pt
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.18
See also
TechDraw Dimension Angle

Description

The Dimension Angle3Pt tool adds a angular dimension to a View. The dimension may be specified by selecting three Vertices on a View. Note that the second of the three Vertices is the apex of the angle. The Angle3Pt will initially be the projected angle (ie as shown on the drawing), but this may be changed to the actual 3D angle using the Link Dimension tool.

Measuring the angle between two straight lines using three vertices; the second vertex should be the apex of the angle

Usage

  1. Select the points or edge which define your measurement.
  2. Press the File:TechDraw Dimension Angle3Pt.png Dimension Angle3Pt 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 Angle3Pt 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 = "Angle3Pt"
dim1.References2D=[(view1, 'Vertex1',(view1, 'Vertex4'),(view1, 'Vertex2'))]
rc = page.addView(dim1)