TechDraw WeldSymbol/ru

Описание
The TechDraw WeldingSymbol tool adds welding specifications to an existing leader line.



Применение

 * 1) Select an existing leaderline.
 * 2) There are several ways to invoke the tool:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) A task panel opens.
 * 6) Specify the welding symbols and accompanying text to be added to the leader line.
 * 7) Press the  button.

Weld Symbol

 * : Shows the All Around symbol (circle) at the kink in the leader line.
 * : Show the Field Weld symbol (flag) at the kink in the leader line.
 * : Offsets the lower symbol to indicate alternating welds.
 * : 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 Welding Symbol has 1 or 2 tiles associated with it. Each of it has the following properties:
 * : The parent Weld Symbol
 * : 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.
 * : Column of the tile. At the moment it is always 0, therefore the property is not editable.
 * : Directory and file name of the symbol's SVG file.
 * : Directory and file name of the actual included symbol SVG file. (It is a temporary directory.)
 * : Text to be displayed to the left of the SVG symbol.
 * : Text to be displayed above/below the SVG symbol.
 * : Text to be displayed to the right of the SVG symbol.

Программирование
TechDraw API и Основы составления скриптов FreeCAD.

The WeldingSymbol tool can be used in macros and from the Python console by using the following functions:

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.