Jump to content

기술도면 용접기호

From FreeCAD Documentation
This page is a translated version of the page TechDraw WeldSymbol and the translation is 36% complete.
Outdated translations are marked like this.

기술도면 용접기호

Menu location
기술도면→ 기호→ 지시선에 용접 정보 추가
Workbenches
기술도면 작업대
Default shortcut
None
Introduced in version
0.19
See also
기술도면 지시선

설명

기술도면 용접기호l 도구는 기존 지시선에 용접 사양을 추가합니다.

지시선에 추가된 용접사양 정보

용법

  1. 기존의 지시선을 선택하세요.
  2. 도구를 호출하는 방법은 여러 가지가 있습니다.
    • 지시선에 용접 정보 추가 버튼을 누르세요.
    • 메뉴에서 기술도면→ 기호 → 지시선에 용접 정보 추가를 선택하세요.
  3. 작업판이 열립니다.
  4. 지시선에 추가할 용접 기호와 사양 정보를 지정합니다.
  5. 확인 버튼을 누릅니다

보충 설명

  • 용접 기호를 생성한 후 나무 보기에서 해당 기호를 두 번 클릭하면 편집할 수 있습니다.
  • 기본 용접 기호 디렉토리에 대한 기본 설정 매개변수가 있습니다. 개인 디렉토리에 사용자 고유 기호를 추가할 수 있습니다.

속성

Weld Symbol

  • 데이터All Around: Shows the All Around symbol (circle) at the kink in the leader line.
  • 데이터Field Weld: Show the Field Weld symbol (flag) at the kink in the leader line.
  • 데이터Alternate Weld: Offsets the lower symbol to indicate alternating welds.
  • 데이터Tail Text: Text to be shown at the end of the leader line.

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:

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