TechDraw WeldSymbol/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "* {{PropertyData|Spoina dookoła}}: Pokazuje symbol ''All Around'' (okrąg) na załamaniu linii prowadzącej. * {{PropertyData|Spawać na montażu}}: Pokazuje symbol ''Spawać na montażu'' (flaga) na załamaniu linii odniesienia. * {{PropertyData|Spoina naprzemienna}}: Przesuwa dolny symbol, aby wskazać spoiny naprzemienne. * {{PropertyData|Tekst ogona}}: Tekst wyświetlany na końcu linii prowadzącej.")
No edit summary
Line 42: Line 42:
===Symbol spawu===
===Symbol spawu===


* {{PropertyData|Spoina dookoła}}: Pokazuje symbol ''All Around'' (okrąg) na załamaniu linii prowadzącej.
* {{PropertyData|Spoina dookoła}}: Pokazuje symbol ''Spoina dookoła'' ''(okrąg)'' na załamaniu linii prowadzącej.
* {{PropertyData|Spawać na montażu}}: Pokazuje symbol ''Spawać na montażu'' (flaga) na załamaniu linii odniesienia.
* {{PropertyData|Spawać na montażu}}: Pokazuje symbol ''Spawać na montażu'' (flaga) na załamaniu linii odniesienia.
* {{PropertyData|Spoina naprzemienna}}: Przesuwa dolny symbol, aby wskazać spoiny naprzemienne.
* {{PropertyData|Spoina naprzemienna}}: Przesuwa dolny symbol, aby wskazać spoiny naprzemienne.

Revision as of 10:38, 22 July 2023

Rysunek Techniczny: Dodaj informacje spawalnicze do linii odniesienia

Lokalizacja w menu
TechDraw → Dodaj informacje spawalnicze do linii odniesienia
Środowisko pracy
Rysunek Techniczny
Domyślny skrót
brak
Wprowadzono w wersji
0.19
Zobacz także
TechDraw Leaderline

Opis

Narzędzie Dodaj informacje spawalnicze do linii odniesienia dodaje specyfikacje spawania do istniejącej linii prowadzącej.

Specyfikacja spawania dodana do linii pomocniczej.

Użycie

  1. Wybierz istniejącą linię odniesienia.
  2. Naciśnij przycisk Dodaj informacje spawalnicze do linii odniesienia.
  3. Otworzy się panel zadań. Umożliwia on ustawienie poszczególnych symboli spawania i towarzyszącego im tekstu, które mają zostać dodane do linii odniesienia.
  4. Naciśnij przycisk OK, aby zamknąć okno dialogowe i zapisać zmiany.
  5. Po utworzeniu symbolu spawania można go edytować, klikając dwukrotnie symbol spawania w drzewie.

Właściwości

Symbol spawu

  • DANESpoina dookoła: Pokazuje symbol Spoina dookoła (okrąg) na załamaniu linii prowadzącej.
  • DANESpawać na montażu: Pokazuje symbol Spawać na montażu (flaga) na załamaniu linii odniesienia.
  • DANESpoina naprzemienna: Przesuwa dolny symbol, aby wskazać spoiny naprzemienne.
  • DANETekst ogona: Tekst wyświetlany na końcu linii prowadzącej.

Tile

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:

  • DANETile Parent: The parent Weld Symbol
  • DANETile 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.
  • DANETile Column: Column of the tile. At the moment it is always 0, therefore the property is not editable.
  • DANESymbol File: Directory and file name of the symbol's SVG file.
  • DANESymbol Included: Directory and file name of the actual included symbol SVG file. (It is a temporary directory.)
  • DANELeft Text: Text to be displayed to the left of the SVG symbol.
  • DANECenter Text: Text to be displayed above/below the SVG symbol.
  • DANERight Text: Text to be displayed to the right of the SVG symbol.

Scripting

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

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.

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.