TechDraw WeldSymbol/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Created page with "# Selezionare una {{Button|16px Linea guida}} esistente. # Premere il pulsante {{Button|Image:techdraw-weldsymbol.svg...")
Line 27: Line 27:
== Utilizzo ==
== Utilizzo ==


# Select an existing {{Button|[[Image:techdraw-mline.svg|16px]] [[TechDraw LeaderLine|LeaderLine]]}}
# Selezionare una {{Button|[[Image:techdraw-mline.svg|16px]] [[TechDraw LeaderLine/it|Linea guida]]}} esistente.
# Press the {{Button|[[Image:techdraw-weldsymbol.svg|16px]] [[TechDraw WeldingSymbol|WeldingSymbol]]}} button
# Premere il pulsante {{Button|[[Image:techdraw-weldsymbol.svg|16px]] [[TechDraw WeldingSymbol/it|Simbolo saldatura]]}}.
# Si apre una finestra di dialogo Azioni. La finestra di dialogo consente di inserire o selezionare singoli simboli di saldatura e il testo di accompagnamento da aggiungere alla linea guida.
# A Task dialog will open. The dialog allows entry/selection of individual welding symbols and accompanying text to be added to the leader line.
# Per uscire dalla finestra di dialogo e salvare le modifiche, premere il pulsante {{Button|OK}}.
# To exit the dialog and save changes, press the OK button.
# Per uscire dalla finestra di dialogo senza salvare, premere il pulsante {{Button|Annulla}}.
# To exit the dialog without saving, press the Cancel button.
# After the welding symbol is created, it can be edited by double clicking the WeldingSymbol in the Tree.
# Dopo aver creato il simbolo di saldatura, è possibile modificarlo facendo doppio clic sul WeldingSymbol nell'albero.


== Proprietà ==
== Proprietà ==

Revision as of 17:33, 15 October 2019

Other languages:

File:Techdraw-weldsymbol.svg Simbolo saldatura

Posizione nel menu
TechDraw → Simbolo saldatura
Ambiente
TechDraw
Avvio veloce
Nessuno
Introdotto nella versione
0.19
Vedere anche
Linea guida

Descrizione

Lo strumento Simbolo saldatura aggiunge le specifiche di saldatura a una linea guida esistente.

Specifiche di saldatura aggiunte a una linea guida

Utilizzo

  1. Selezionare una File:Techdraw-mline.svg Linea guida esistente.
  2. Premere il pulsante File:Techdraw-weldsymbol.svg Simbolo saldatura.
  3. Si apre una finestra di dialogo Azioni. La finestra di dialogo consente di inserire o selezionare singoli simboli di saldatura e il testo di accompagnamento da aggiungere alla linea guida.
  4. Per uscire dalla finestra di dialogo e salvare le modifiche, premere il pulsante OK.
  5. Per uscire dalla finestra di dialogo senza salvare, premere il pulsante Annulla.
  6. Dopo aver creato il simbolo di saldatura, è possibile modificarlo facendo doppio clic sul WeldingSymbol nell'albero.

Proprietà

  • DatiAllAround: Show the AllAround symbol (circle) at the kink in the leader line.
  • DatiFieldWeld: Show the FieldWeld symbol (flag) at the kink in the leader line.
  • DatiAlternateWeld: Offset the lower symbol to indicate alternating welds.
  • DatiTailText: Text to be shown at the end of the leader line.

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

  • DatiRow: 0 for above the line, -1 for below the line. Not intended for end users.
  • DatiColumn: not implemented.
  • DatiSymbolFile: Directory and file name of the svg file for the symbol.
  • DatiLeftText: Text to be displayed to the left of the svg symbol.
  • DatiCenterText: Text to be displayed above/below the svg symbol.
  • DatiRightText: 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.