TechDraw Symbol: Difference between revisions
m ([[ | ]]) |
(Usage) |
||
(26 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<translate> |
<translate> |
||
<!--T:16--> |
<!--T:16--> |
||
{{Docnav |
|||
{{Docnav|[[TechDraw_GeomHatch|Geometric Hatch]]|[[TechDraw_Image|New Image]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-geomhatch.png|IconC=Workbench_TechDraw.svg|IconR=Techdraw-image.png}} |
|||
|[[TechDraw_GeometricHatch|GeometricHatch]] |
|||
|[[TechDraw_Image|Image]] |
|||
|[[TechDraw_Workbench|TechDraw]] |
|||
|IconL=TechDraw_GeometricHatch.svg |
|||
|IconR=TechDraw_Image.svg |
|||
|IconC=Workbench_TechDraw.svg |
|||
}} |
|||
<!--T:1--> |
<!--T:1--> |
||
{{GuiCommand |
{{GuiCommand |
||
|Name=TechDraw |
|Name=TechDraw Symbol |
||
|MenuLocation=TechDraw → Symbol |
|MenuLocation=TechDraw → TechDraw Views → Insert SVG Symbol |
||
|Workbenches=[[ |
|Workbenches=[[TechDraw_Workbench|TechDraw]] |
||
|SeeAlso=[[ |
|SeeAlso=[[TechDraw_Templates|TechDraw Templates]], [[Draft_SVG|Draft SVG]] |
||
}} |
}} |
||
Line 15: | Line 23: | ||
<!--T:8--> |
<!--T:8--> |
||
The Symbol tool inserts an [[SVG|SVG]] file into the page. This symbol can be anything that helps annotating your drawing, and that doesn't need to be further modified. |
The '''TechDraw Symbol''' tool inserts an [[SVG|SVG]] file into the page. This symbol can be anything that helps annotating your drawing, and that doesn't need to be further modified. |
||
</translate> |
</translate> |
||
[[Image:TechDraw_SymbolSVG_sample.png]] |
[[Image:TechDraw_SymbolSVG_sample.png|250px]] |
||
<translate> |
<translate> |
||
<!--T:9--> |
<!--T:9--> |
||
{{Caption|Compass rose added to the drawing page; this symbol is available by installing the |
{{Caption|Compass rose added to the drawing page; this symbol is available by installing the "symbols_library" addon with the [[Std_AddonMgr|Addon Manager]]}} |
||
== |
==Usage== <!--T:3--> |
||
<!--T:10--> |
<!--T:10--> |
||
# If there are multiple drawing pages in the document: optionally activate the desired page by selecting it in the [[Tree_view|Tree view]]. |
|||
⚫ | |||
# There are several ways to invoke the tool: |
|||
⚫ | |||
⚫ | |||
#* Select the {{MenuCommand|TechDraw → TechDraw Views → [[Image:TechDraw_Symbol.svg|16px]] Insert SVG Symbol}} option from the menu. |
|||
# If there are multiple drawing pages in the document and you have not yet activated a page, the {{MenuCommand|Page Chooser}} dialog box opens: {{Version|0.20}} |
|||
## Select the desired page. |
|||
## Press the {{Button|OK}} button. |
|||
# A file dialog opens. |
|||
⚫ | |||
# The symbol is inserted. |
|||
# Optionally change its {{PropertyData|Scale}} property to adjust its size. |
|||
<!--T: |
== Notes == <!--T:18--> |
||
If the symbol appears larger than expected, use the scale property to adjust its size. |
|||
⚫ | |||
* {{PropertyData|Scale Type}} for Symbols is always set to ''Custom'' at creation. This is for convenience, since symbols are almost always scaled differently from the rest of the objects on the page. |
|||
== Properties == <!--T:20--> |
|||
⚫ | |||
See also [[TechDraw_View#Properties|TechDraw View]]. |
|||
<!--T:24--> |
|||
{{TitleProperty|Drawing view}} |
|||
<!--T:25--> |
|||
* {{PropertyData|Editable Texts}}: List of editable texts, if any. |
|||
==Scripting== <!--T:6--> |
==Scripting== <!--T:6--> |
||
<!--T:12--> |
<!--T:12--> |
||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
<!--T:13--> |
<!--T:13--> |
||
The Symbol tool can be used in [[ |
The Symbol tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions: |
||
</translate> |
</translate> |
||
Line 50: | Line 80: | ||
rc = page.addView(sym) |
rc = page.addView(sym) |
||
}} |
}} |
||
<translate> |
<translate> |
||
<!--T:17--> |
<!--T:17--> |
||
{{Docnav |
|||
{{Docnav|[[TechDraw_GeomHatch|Geometric Hatch]]|[[TechDraw_Image|New Image]]|[[TechDraw_Module|TechDraw]]|IconL=techdraw-geomhatch.png|IconC=Workbench_TechDraw.svg|IconR=Techdraw-image.png}} |
|||
|[[TechDraw_GeometricHatch|GeometricHatch]] |
|||
|[[TechDraw_Image|Image]] |
|||
⚫ | |||
|[[TechDraw_Workbench|TechDraw]] |
|||
⚫ | |||
|IconL=TechDraw_GeometricHatch.svg |
|||
|IconR=TechDraw_Image.svg |
|||
|IconC=Workbench_TechDraw.svg |
|||
}} |
|||
⚫ | |||
⚫ | |||
</translate> |
</translate> |
||
⚫ | |||
⚫ | |||
{{clear}} |
{{clear}} |
Latest revision as of 08:52, 26 July 2023
TechDraw Symbol |
Menu location |
---|
TechDraw → TechDraw Views → Insert SVG Symbol |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
TechDraw Templates, Draft SVG |
Description
The TechDraw Symbol tool inserts an SVG file into the page. This symbol can be anything that helps annotating your drawing, and that doesn't need to be further modified.
Compass rose added to the drawing page; this symbol is available by installing the "symbols_library" addon with the Addon Manager
Usage
- If there are multiple drawing pages in the document: optionally activate the desired page by selecting it in the Tree view.
- There are several ways to invoke the tool:
- Press the Insert SVG Symbol button.
- Select the TechDraw → TechDraw Views → Insert SVG Symbol option from the menu.
- If there are multiple drawing pages in the document and you have not yet activated a page, the Page Chooser dialog box opens: introduced in version 0.20
- Select the desired page.
- Press the OK button.
- A file dialog opens.
- Select a location and file name.
- The symbol is inserted.
- Optionally change its DataScale property to adjust its size.
Notes
- DataScale Type for Symbols is always set to Custom at creation. This is for convenience, since symbols are almost always scaled differently from the rest of the objects on the page.
Properties
See also TechDraw View.
Drawing view
- DataEditable Texts: List of editable texts, if any.
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The Symbol tool can be used in macros and from the Python console by using the following functions:
sym = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewSymbol','TestSymbol')
rc = page.addView(anno)
f = open(unicode(symbolFileSpec,'utf-8'),'r')
svg = f.read()
f.close()
sym.Symbol = svg
rc = page.addView(sym)
TechDraw
- 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
User documentation
- 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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub