기술도면 지시건 |
Menu location |
---|
기술도면→ 선 추가 → 보기에 지시선 추가 |
Workbenches |
기술도면 작업대 |
Default shortcut |
None |
Introduced in version |
0.19 |
See also |
기술도면 서식 있는 주석, 기술도면 용접 기호 |
기술도면 지시건 도구는 보기에 선을 추가합니다. 다른 주석 대상체(예: 서식 있는 주석)를 지시선에 연결하여 복잡한 주석을 만들 수 있습니다.
보기에 추가된 지시선
Base
Enumeration
): The symbol at the start of the leaderline. Options: Enumeration
): The symbol at the end of the leaderline. Idem.Distance
): The X coordinate of the leaderline relative to the View.Distance
): The Y coordinate of the leaderline relative to the View.Leader
Link
): The View the leaderline is attached to.VectorList
): The points of the leaderline.Bool
): Specifies if the leaderline scales with 데이터Leader Parent.Bool
): 지시선의 마지막 분절이 수평이 되도록 강제할지 여부를 지정합니다.
Base
Bool
): Not used.Integer
): Over or underlap relative to other drawing objects. introduced in 0.21Line Format
Color
): 지시선의 색상Enumeration
): 지시선의 종류: NoLine, Length
): 지시선의 두께
자동 생성된 API 문서 및 FreeCAD 스크립팅 기본도 참고하세요.
지시선 도구는 다음 함수를 사용하여 매크로 및 파이썬 콘솔에서 사용할 수 있습니다.
myPage = FreeCAD.ActiveDocument().Page
myBase = FreeCAD.ActiveDocument().View
leaderObj = FreeCAD.ActiveDocument.addObject('TechDraw::DrawLeaderLine','DrawLeaderLine')
FreeCAD.activeDocument().myPage.addView(leaderObj)
FreeCAD.activeDocument().leaderObj.LeaderParent = myBase
#first waypoint is always (0,0,0)
#rest of waypoints are positions relative to (0,0,0)
leaderObj.WayPoints = [p0,p1,p2]
leaderObj.X = 5
leaderObj.Y = 5