TechDraw WeldSymbol/de: Difference between revisions

From FreeCAD Documentation
(Created page with "# Wähle eine vorhandene {{Button|16px Führungslinie}} # Drücke die {{Button|16px [...")
(Created page with "* {{PropertyData/de|Rundum}}: Zeige das Rundum-Symbol (Kreis) am Knick in der Führungslinie. * {{PropertyData/de|FeldSchweißung}}: Zeige das FeldSchweißsymbol (Flagge) an d...")
Line 37: Line 37:
==Eigenschaften==
==Eigenschaften==


* {{PropertyData|AllAround}}: Show the AllAround symbol (circle) at the kink in the leader line.
* {{PropertyData/de|Rundum}}: Zeige das Rundum-Symbol (Kreis) am Knick in der Führungslinie.
* {{PropertyData|FieldWeld}}: Show the FieldWeld symbol (flag) at the kink in the leader line.
* {{PropertyData/de|FeldSchweißung}}: Zeige das FeldSchweißsymbol (Flagge) an der Knickstelle der Führungslinie an.
* {{PropertyData|AlternateWeld}}: Offset the lower symbol to indicate alternating welds.
* {{PropertyData/de|ErsatzSchweißung}}: Versetze das untere Symbol, um wechselseitig Schweißungen anzugeben.
* {{PropertyData|TailText}}: Text to be shown at the end of the leader line.
* {{PropertyData/de|SchwanzText}}: Text, der am Ende der Führungslinie angezeigt wird.


Each individual symbol ("arrow side" and "other side") is represented by a "tile" object. A WeldingSymbol has 1 or 2 tiles associated with it.
Each individual symbol ("arrow side" and "other side") is represented by a "tile" object. A WeldingSymbol has 1 or 2 tiles associated with it.

Revision as of 20:25, 24 January 2020

File:Techdraw-weldsymbol.svg TechDraw WeldingSymbol

Menüeintrag
TechDraw → Add Welding...
Arbeitsbereich
TechDraw
Standardtastenkürzel
Keiner
Eingeführt in Version
0.19
Siehe auch
TechDraw LeaderLine

Beschreibung

Das Werkzeug SchweißSymbol fügt einer bestehenden Führungslinie Schweißspezifikationen hinzu.

Schweißspezifikation zu einer Führungslinie hinzugefügt

Kurzanleitung

  1. Wähle eine vorhandene File:Techdraw-mline.svg Führungslinie
  2. Drücke die File:Techdraw-weldsymbol.svg SchweißSymbol Taste
  3. Ein Aufgabendialogfeld wird geöffnet. Der Dialog ermöglicht die Eingabe/Auswahl einzelner Schweißsymbole und des begleitenden Textes, die der Führungslinie hinzugefügt werden können.
  4. Um das Dialogfeld zu verlassen und die Änderungen zu speichern, drücke die Schaltfläche OK.
  5. Um das Dialogfeld ohne Speichern zu verlassen, drücke die Schaltfläche Abbrechen.
  6. Nachdem das Schweißsymbol erstellt wurde, kann es durch Doppelklicken auf das Schweißsymbol im Baum bearbeitet werden.

Eigenschaften

  • Daten-EigenschaftRundum: Zeige das Rundum-Symbol (Kreis) am Knick in der Führungslinie.
  • Daten-EigenschaftFeldSchweißung: Zeige das FeldSchweißsymbol (Flagge) an der Knickstelle der Führungslinie an.
  • Daten-EigenschaftErsatzSchweißung: Versetze das untere Symbol, um wechselseitig Schweißungen anzugeben.
  • Daten-EigenschaftSchwanzText: Text, der am Ende der Führungslinie angezeigt wird.

Each individual symbol ("arrow side" and "other side") is represented by a "tile" object. A WeldingSymbol has 1 or 2 tiles associated with it.

  • DatenRow: 0 for above the line, -1 for below the line. Not intended for end users.
  • DatenColumn: not implemented.
  • DatenSymbolFile: Directory and file name of the svg file for the symbol.
  • DatenLeftText: Text to be displayed to the left of the svg symbol.
  • DatenCenterText: Text to be displayed above/below the svg symbol.
  • DatenRightText: Text to be displayed to the right of the svg symbol.

Scripting

See also: TechDraw API 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

  • Individual symbols are formed by 64x64 pixel Svg files. Additional symbols can be created in an Svg program like Inkscape using one of the supplies symbols 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 is 0.5mm.
  • The leader passes below symbols for the arrow side and above symbols for the "other" side.
  • There is no particular naming standard other than to append "Up/Down" to the arrow/other side symbols where required.

Notes

  • You can edit your WeldingSymbol by double clicking on it in the tree view. Double clicking in the graphics area is not yet supported.
  • There is a preference parameter for the default welding symbol directory. You can add your own symbols in a personal directory.