TechDraw WeldSymbol
Appearance
|
|
| Menu location |
|---|
| TechDraw → Symbols → Weld Symbol |
| Workbenches |
| TechDraw |
| Default shortcut |
| None |
| Introduced in version |
| 0.19 |
| See also |
| TechDraw Leaderline |
Description[edit | edit source]
The TechDraw WeldingSymbol tool adds welding specifications to an existing leader line.
Welding specification added to a leader line
Usage[edit | edit source]
- Select an existing leaderline.
- There are several ways to invoke the tool:
- Press the
Weld Symbol button.
- Select the TechDraw → Symbols →
Weld Symbol option from the menu.
- Press the
- A task panel opens.
- Specify the welding symbols and accompanying text to be added to the leader line.
- Press the OK button.
Notes[edit | edit source]
- After creation a welding symbol can be edited by double clicking it in the Tree View.
- There is a preference parameter for the default welding symbol directory. You can add your own symbols in a personal directory.
Properties[edit | edit source]
Weld Symbol[edit | edit source]
- DataAll Around: Shows the All Around symbol (circle) at the kink in the leader line.
- DataField Weld: Show the Field Weld symbol (flag) at the kink in the leader line.
- DataAlternate Weld: Offsets the lower symbol to indicate alternating welds.
- DataTail Text: Text to be shown at the end of the leader line.
Tile[edit | edit source]
Each individual symbol ("arrow side" and "other side") is represented by a "tile" object. A Welding Symbol has 1 or 2 tiles associated with it. Each of it has the following properties:
- DataTile Parent: The parent Weld Symbol
- DataTile Row: Row of the tile. 0 means above the line, -1 below the line. Note: If you change the row of one tile, you must also change the tile for the second side! This way you can flip the sides.
- DataTile Column: Column of the tile. At the moment it is always 0, therefore the property is not editable.
- DataSymbol File: Directory and file name of the symbol's SVG file.
- DataSymbol Included: Directory and file name of the actual included symbol SVG file. (It is a temporary directory.)
- DataLeft Text: Text to be displayed to the left of the SVG symbol.
- DataCenter Text: Text to be displayed above/below the SVG symbol.
- DataRight Text: Text to be displayed to the right of the SVG symbol.
Scripting[edit | edit source]
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The WeldingSymbol tool can be used in macros and from the Python Console by using the following functions:
symbolName = "DrawWeldSymbol001")
symbolType = "TechDraw::DrawWeldSymbol"
App.activeDocument().addObject(symbolType, symbolName)
App.activeDocument().Page.addView(App.activeDocument().DrawWeldSymbol001)
App.activeDocument().DrawWeldSymbol001.Leader = myLeader
App.activeDocument().DrawWeldSymbol001.AllAround = True
App.activeDocument().DrawWeldSymbol001.FieldWeld = True
App.activeDocument().DrawWeldSymbol001.AlternatingWeld = True
App.activeDocument().DrawWeldSymbol001.TailText = "process text"
tileName = "DrawTileWeld001"
tileType = "TechDraw::DrawTileWeld"
App.activeDocument().addObject(tileType, tileName)
App.activeDocument().DrawTileWeld001.TileParent = App.activeDocument().DrawWeldSymbol001
App.activeDocument().DrawTileWeld001.TileRow = 0
App.activeDocument().DrawTileWeld001.TileColumn = 0
App.activeDocument().DrawTileWeld001.SymbolFile = fullPathToMySvgFile
App.activeDocument().DrawTileWeld001.LeftText = "left text"
App.activeDocument().DrawTileWeld001.RightText = "right text"
App.activeDocument().DrawTileWeld001.CenterText = "center text"
Svg Symbol Tiles[edit | edit source]
Individual symbols are formed by 64x64 pixel SVG files. Additional symbols can be created in an SVG program like Inkscape using one of the symbols supplied by FreeCAD as a template.
- Individual symbols are formed by 64x64 (nominal) pixel SVG files. The tiles actually have a "border" of 4px. The border ensures that the leader line and symbol meet nicely.
- The symbol is drawn in black on a transparent background. The stroke width is 0.5mm.
- The leader passes below symbols for the arrow side (see image on the left) and above symbols for the "other" side (see image on the right).
- There is no particular naming standard other than to append "Up/Down" to the arrow/other side symbols.
- Page: New Page, New Page From Template, Update Template Fields, Redraw Page, Print All Pages, Export Page as SVG, Export Page as DXF
- TechDraw Views: New View, Broken View, Section View, Complex Section View, Detail View, Projection Group, Clip Group, Insert SVG, Bitmap Image, Share View, Project Shape
- Views From Other Workbenches: Active View, Draft View, BIM View, Spreadsheet View
- Dimensions: Dimension, Length Dimension, Horizontal Length Dimension, Vertical Length Dimension, Radius Dimension, Diameter Dimension, Angle Dimension, Angle Dimension From 3 Points, Area Annotation, Horizontal Extent Dimension, Vertical Extent Dimension, Repair Dimension References
- Hatching: Image Hatch, Geometric Hatch
- Symbols: Weld Symbol, Surface Finish Symbol, Hole/Shaft Fit
- Stacking: Stack Top, Stack Bottom, Stack Up, Stack Down
- Attributes/Modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Toggle View Lock, Position Section View, Align Horizontal Chain Dimensions, Align Vertical Chain Dimensions, Align Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Area Annotation, Arc Length Annotation, Customize Format Label
- Centerlines/Threading: Circle Centerlines, Bolt Circle Centerlines, Cosmetic Thread Hole Side View, Cosmetic Thread Hole Bottom View, Cosmetic Thread Bolt Side View, Cosmetic Thread Bolt Bottom View, Cosmetic Intersection Vertices, Offset Vertex, Cosmetic 1 Point Circle, Cosmetic 2 Point Circle, Cosmetic 3 Point Circle, Cosmetic Arc, Cosmetic Parallel Line, Cosmetic Perpendicular Line
- Format/Organize Dimensions Horizontal Chain Dimension, Vertical Chain Dimension, Oblique Chain Dimension, Horizontal Coordinate Dimension, Vertical Coordinate Dimension, Oblique Coordinate Dimension, Horizontal Chamfer Dimension, Vertical Chamfer Dimension, Arc Length Dimension, Insert '⌀' Prefix, Insert '□' Prefix, Insert 'n×' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Annotations: Text Annotation, Rich Text Annotation, Balloon Annotation, Axonometric Length Dimension
- Add Lines: Leader Line, Centerline on Face, Centerline Between 2 Lines, Centerline Between 2 Points, Cosmetic Line Through 2 points, Edit Line Appearance, Toggle Edge Visibility
- Add Vertices: Cosmetic Vertex, Midpoint Vertices, Quadrant Vertices
- Miscellaneous: Remove Cosmetic Object
- 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, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub