TechDraw DiameterDimension: Difference between revisions
Renatorivo (talk | contribs) mNo edit summary |
m ([[ | ]]) |
||
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<translate> |
<translate> |
||
⚫ | |||
{{Docnav |
|||
|[[TechDraw_Dimension_Radius|New Radius]] |
|||
|[[TechDraw_Dimension_Angle|New Angle]] |
|||
|[[TechDraw_Module|TechDraw]] |
|||
|IconL=Techdraw_Dimension_Radius.png |
|||
|IconC=Workbench_TechDraw.svg |
|||
|IconR=Techdraw_Dimension_Angle.png |
|||
}} |
|||
<!--T:1--> |
<!--T:1--> |
||
{{GuiCommand |
|||
{{GuiCommand|Name=TechDraw Dimension Diameter|Workbenches=[[TechDraw Module|TechDraw]]|MenuLocation=TechDraw → Dimension Diameter|Shortcut=|SeeAlso=}} |
|||
|Name=TechDraw Dimension Diameter |
|||
|MenuLocation=TechDraw → Dimension Diameter |
|||
|Workbenches=[[TechDraw Module|TechDraw]] |
|||
|SeeAlso=[[TechDraw Dimension Radius|TechDraw Dimension Radius]] |
|||
}} |
|||
==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 |
||
<!--T:8--> |
|||
[[File:DiameterSample.png|200px|center]] |
|||
⚫ | 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. |
||
</translate> |
|||
[[Image:TechDraw_Dimension_Diameter_example.png]] |
|||
<translate> |
|||
<!--T:9--> |
|||
{{Caption|Measuring a circle, indicating the diameter}} |
|||
==How to use== <!--T:3--> |
==How to use== <!--T:3--> |
||
⚫ | |||
<!--T:10--> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
# 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. |
||
== |
== Limitations == <!--T:11--> |
||
None. |
|||
<!--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. |
|||
==Properties== <!--T:5--> |
==Properties== <!--T:5--> |
||
* {{PropertyData|X}}: Horizontal position of the dimension text relative to the View. |
|||
<!--T:13--> |
|||
* {{PropertyData|Y}}: Vertical position of the dimension text relative to the View. |
|||
This object has the same properties as the [[TechDraw Dimension Length|TechDraw Dimension Length]] tool. See that tool for details. |
|||
* {{PropertyData|Font}}: The name of the font to use for the dimension text. |
|||
* {{PropertyData|Fontsize}}: Dimension text size in mm. |
|||
* {{PropertyData|FormatSpec}}: Allows additional text to be added to the dimension text. Dimension value will replace %value%. |
|||
* {{PropertyData|LineWidth}}: Dimension line weight. |
|||
* {{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. |
|||
==Scripting== <!--T:6--> |
==Scripting== <!--T:6--> |
||
Diameter dimensions can be added to Pages using Python. |
|||
<!--T:14--> |
|||
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
<!--T:15--> |
|||
The Dimension Diameter tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following functions: |
|||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
||
Line 35: | Line 63: | ||
}} |
}} |
||
<translate> |
<translate> |
||
⚫ | |||
* None at this time |
|||
<!--T:19--> |
|||
{{Docnav |
|||
|[[TechDraw_Dimension_Radius|New Radius]] |
|||
|[[TechDraw_Dimension_Angle|New Angle]] |
|||
|[[TechDraw_Module|TechDraw]] |
|||
|IconL=Techdraw_Dimension_Radius.png |
|||
|IconC=Workbench_TechDraw.svg |
|||
|IconR=Techdraw_Dimension_Angle.png |
|||
}} |
|||
<!--T:16--> |
|||
{{TechDraw Tools navi}} |
|||
<!--T:17--> |
|||
{{Userdocnavi}} |
|||
</translate> |
</translate> |
||
{{clear}} |
{{clear}} |
||
⚫ |
Revision as of 20:51, 15 October 2019
TechDraw Dimension Diameter |
Menu location |
---|
TechDraw → Dimension Diameter |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
TechDraw Dimension Radius |
Description
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 tool.
Measuring a circle, indicating the diameter
How to use
- 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 File:Dimension Diameter.png Dimension Diameter button
- 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 Diameter 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)
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub