TechDraw LeaderLine/ru: Difference between revisions
(Created page with "{{Docnav/ru |Вставить заметку |TechDraw_RichTextAnnotation/ru|Вставка аннотаций форматированным те...") |
(Updating to match new version of source page) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
|Workbenches=[[TechDraw_Workbench/ru|TechDraw]] |
|Workbenches=[[TechDraw_Workbench/ru|TechDraw]] |
||
|Version=0.19 |
|Version=0.19 |
||
|SeeAlso=[[TechDraw_RichTextAnnotation/ru|Вставка аннотаций форматированным текстом]], [[TechDraw_WeldSymbol/ru|Добавить информацию о сварке в указательную линию]], [[TechDraw_LineGroup/ru| |
|SeeAlso=[[TechDraw_RichTextAnnotation/ru|Вставка аннотаций форматированным текстом]], [[TechDraw_WeldSymbol/ru|Добавить информацию о сварке в указательную линию]], [[TechDraw_LineGroup/ru|Группы линий]] |
||
}} |
}} |
||
</div> |
</div> |
||
<span id="Description"></span> |
|||
==Описание== |
==Описание== |
||
The LeaderLine tool adds a line to a View. |
The '''TechDraw LeaderLine''' tool adds a line to a View. Other annotation objects (such as [[TechDraw_RichTextAnnotation|Rich Text Annotations]]) can be connected to the leaderline to form complex annotations. |
||
[[Image:TechDraw_LeaderLine_sample.png]] |
[[Image:TechDraw_LeaderLine_sample.png]] |
||
{{Caption|Leaderline added to |
{{Caption|Leaderline added to a View}} |
||
<span id="Usage_create"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
==Применение== |
==Применение== |
||
</div> |
|||
# Select a |
# Select a View. |
||
# There are several ways to invoke the tool: |
|||
# Press the {{Button|[[Image:TechDraw_LeaderLine.svg|16px]] Add Leaderline to View}} button |
#* Press the {{Button|[[Image:TechDraw_LeaderLine.svg|16px]] [[TechDraw_LeaderLine|Add Leaderline to View]]}} button. |
||
# Click on {{Button|Pick points}} and then click into the page to define the starting point of the line. |
|||
#* Select the {{MenuCommand|TechDraw → Add Lines → [[Image:TechDraw_LeaderLine.svg|16px]] Add Leaderline to View}} option from the menu. |
|||
# Move the mouse and click on another point to create a line. |
|||
# |
# A task panel opens. |
||
# Press the {{Button|Pick points}} button. |
|||
# Pick the first point on the page to define the start point of the line. |
|||
# Pick the next point on the page. Hold down {{KEY|Ctrl}} to snap to multiples of 22.5° angles. Optionally use a double-click instead of a single-click to finish entering points. |
|||
# To finish the creation, press {{Button|OK}} to close the dialog. |
|||
# Optionally add more points. |
|||
# If you have not double-clicked a point: press the {{Button|Save Points}} button. |
|||
# Optionally change the '''Start Symbol''', '''End Symbol''', '''Color''', '''Width''' and '''Style''' of the leader. See [[#Properties|Properties]] for more information. |
|||
# Press the {{Button|OK}} button. |
|||
==Usage edit== |
|||
'''Note:''' If you did not define any points when creating the leaderline, a short line will be placed at the center of the view. |
|||
# Double-click a Leaderline in the [[Tree_view|Tree view]]. |
|||
⚫ | |||
# A task panel opens. |
|||
# To edit the points: |
|||
## Press the {{Button|Edit points}} button. |
|||
## The Leaderline is marked with temporary nodes. |
|||
## Drag one or more of the nodes to a new position. |
|||
## Press the {{Button|Save changes}} button. |
|||
# Optionally change the '''Start Symbol''', '''End Symbol''', '''Color''', '''Width''' and '''Style''' of the leader. See [[#Properties|Properties]] for more information. |
|||
# Press the {{Button|OK}} button. |
|||
⚫ | |||
# Select the Leaderline in the document tree and double-click on it. |
|||
# A dialog will open where you can change the appearance. |
|||
# To edit the points, click on {{Button|Edit points}} and the line points become visible in the drawing. |
|||
# Drag the points to a place you like and finish the change by clicking on {{Button|Save changes}}. |
|||
* You cannot add or remove points from an existing Leaderline. |
|||
* If no points were specified at creation time a short line is placed at the center of the View. There is no way to fix such a line, it should be deleted. |
|||
* By default the '''Leader Line Auto Horizontal''' [[TechDraw_Preferences#Annotation|preference]] is checked. This means that the last line segment of new Leaderlines is drawn horizontally. If there is only one segment the result is then a single horizontal line. |
|||
⚫ | |||
<span id="Properties"></span> |
|||
==Свойства== |
==Свойства== |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | * {{PropertyData|Start Symbol}}: The symbol at the start |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{Properties_Title|Base}} |
|||
⚫ | * {{PropertyData|Start Symbol|Enumeration}}: The symbol at the start of the leaderline. Options: [[Image:Arrowfilled.svg|20px]] Filled Arrow, [[Image:Arrowopen.svg|20px]] Open Arrow, [[Image:Arrowtick.svg|20px]] Tick, [[Image:Arrowdot.svg|20px]] Dot, [[Image:arrowopendot.svg|20px]] Open Circle, [[Image:arrowfork.svg|20px]] Fork, [[Image:arrowpyramid.svg|20px]] Filled Triangle, None. |
||
⚫ | |||
⚫ | |||
* {{PropertyData|Y|Distance}}: The Y coordinate of the leaderline relative to the View. |
|||
{{Properties_Title|Leader}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
===View=== |
|||
{{TitleProperty|Base}} |
|||
* {{PropertyView|Keep Label|Bool}}: Not used. |
|||
* {{PropertyView|Stack Order|Integer}}: Over or underlap relative to other drawing objects. {{Version|0.21}} |
|||
{{TitleProperty|Line Format}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<span id="Scripting"></span> |
|||
==Программирование== |
==Программирование== |
||
Line 79: | Line 117: | ||
leaderObj.Y = 5 |
leaderObj.Y = 5 |
||
}} |
}} |
||
⚫ | |||
* You can edit a Leaderline by double clicking on it in the tree view. Double clicking in the graphics area is not yet supported. The line segment(s) can be edited by pressing {{Button|Edit points}}. To exit the point editing, press {{Button|Save changes}} or {{Button|Discard changes}}. |
|||
* If you did not define any points when creating the leaderline, a short line will be placed at the center of the view. You can later not add further points. |
|||
* By default the [[TechDraw_Preferences|preferences]] option '''Leader Line Auto Horizontal''' is activated. Therefore the last line segment will be horizontal. So if you only have one segment, you get a horizontal line, no matter where you picked the second point. |
|||
⚫ | |||
Line 98: | Line 130: | ||
{{TechDraw Tools navi{{#translation:}}}} |
{{TechDraw Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Latest revision as of 10:04, 27 July 2023
Добавить Линию-выноску в Вид |
Системное название |
---|
TechDraw_LeaderLine |
Расположение в меню |
TechDraw → Добавить Линии → Добавить Линию-выноску в Вид |
Верстаки |
TechDraw |
Быстрые клавиши |
Нет |
Представлено в версии |
0.19 |
См. также |
Вставка аннотаций форматированным текстом, Добавить информацию о сварке в указательную линию, Группы линий |
Описание
The TechDraw LeaderLine tool adds a line to a View. Other annotation objects (such as Rich Text Annotations) can be connected to the leaderline to form complex annotations.
Leaderline added to a View
Применение
- Select a View.
- There are several ways to invoke the tool:
- Press the Add Leaderline to View button.
- Select the TechDraw → Add Lines → Add Leaderline to View option from the menu.
- A task panel opens.
- Press the Pick points button.
- Pick the first point on the page to define the start point of the line.
- Pick the next point on the page. Hold down Ctrl to snap to multiples of 22.5° angles. Optionally use a double-click instead of a single-click to finish entering points.
- Optionally add more points.
- If you have not double-clicked a point: press the Save Points button.
- Optionally change the Start Symbol, End Symbol, Color, Width and Style of the leader. See Properties for more information.
- Press the OK button.
Usage edit
- Double-click a Leaderline in the Tree view.
- A task panel opens.
- To edit the points:
- Press the Edit points button.
- The Leaderline is marked with temporary nodes.
- Drag one or more of the nodes to a new position.
- Press the Save changes button.
- Optionally change the Start Symbol, End Symbol, Color, Width and Style of the leader. See Properties for more information.
- Press the OK button.
Notes
- You cannot add or remove points from an existing Leaderline.
- If no points were specified at creation time a short line is placed at the center of the View. There is no way to fix such a line, it should be deleted.
- By default the Leader Line Auto Horizontal preference is checked. This means that the last line segment of new Leaderlines is drawn horizontally. If there is only one segment the result is then a single horizontal line.
- You can turn off this auto horizontal feature for existing Leaderlines by changing their ДанныеAuto Horizontal property.
Свойства
Data
Base
- ДанныеStart Symbol (
Enumeration
): The symbol at the start of the leaderline. Options: Filled Arrow, Open Arrow, Tick, Dot, Open Circle, Fork, Filled Triangle, None. - ДанныеEnd Symbol (
Enumeration
): The symbol at the end of the leaderline. Idem. - ДанныеX (
Distance
): The X coordinate of the leaderline relative to the View. - ДанныеY (
Distance
): The Y coordinate of the leaderline relative to the View.
Leader
- ДанныеLeader Parent (
Link
): The View the leaderline is attached to. - ДанныеWay Points (
VectorList
): The points of the leaderline. - ДанныеScalable (
Bool
): Specifies if the leaderline scales with ДанныеLeader Parent. - ДанныеAuto Horizontal (
Bool
): Specifies if the last leaderline segment is forced to be horizontal.
View
Base
- ВидKeep Label (
Bool
): Not used. - ВидStack Order (
Integer
): Over or underlap relative to other drawing objects. introduced in version 0.21
Line Format
- ВидColor (
Color
): The color of the leaderline. - ВидLine Style (
Enumeration
): The style of the leaderline. Options: NoLine, Continuous, Dash, Dot, DashDot, DashDotDot. - ВидLine Width (
Length
): The width of the leaderline.
Программирование
См. так же: TechDraw API и Основы составления скриптов FreeCAD.
The LeaderLine tool can be used in macros and from the Python console by using the following functions:
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
TechDraw
- Pages: Insert Default Page, Insert Page using Template, Redraw Page, Print All Pages
- Views: Insert View, Insert Active View, Insert Projection Group, Insert Section View, Insert Complex Section View, Insert Detail View, Insert Draft Workbench Object, Insert Arch Workbench Object, Insert Spreadsheet View, Insert Clip Group, Share View, Project Shape
- Stacking: Move view to top of stack, Move view to bottom of stack, Move view up one level, Move view down one level
- Decorations: Hatch Face using Image File, Apply Geometric Hatch to Face, Insert SVG Symbol, Insert Bitmap Image, Turn View Frames On/Off
- Dimensions: Insert Length Dimension, Insert Horizontal Dimension, Insert Vertical Dimension, Insert Radius Dimension, Insert Diameter Dimension, Insert Angle Dimension, Insert 3-Point Angle Dimension, Insert Horizontal Extent Dimension, Insert Vertical Extent Dimension, Link Dimension to 3D Geometry, Insert Balloon Annotation, Insert Axonometric Length Dimension, Insert Landmark Dimension, Adjust Geometric References of Dimension
- Annotations: Insert Annotation, Add Leaderline to View, Insert Rich Text Annotation, Add Cosmetic Vertex, Add Midpoint Vertices, Add Quadrant Vertices, Add Centerline to Faces, Add Centerline between 2 Lines, Add Centerline between 2 Points, Add Cosmetic Line Through 2 points, Add Cosmetic Circle, Change Appearance of Lines, Show/Hide Invisible Edges, Add Welding Information to Leader, Add Surface Finish Symbol, Add Hole or Shaft Tolerances
- Extensions:
- Attributes and modifications: Select Line Attributes, Cascade Spacing and Delta Distance, Change Line Attributes, Extend Line, Shorten Line, Lock/Unlock View, Position Section View, Position Horizontal Chain Dimensions, Position Vertical Chain Dimensions, Position Oblique Chain Dimensions, Cascade Horizontal Dimensions, Cascade Vertical Dimensions, Cascade Oblique Dimensions, Calculate the area of selected faces, Calculate the arc length of selected edges, Customize format label
- Centerlines and threading: Add Circle Centerlines, Add Bolt Circle Centerlines, Add Cosmetic Thread Hole Side View, Add Cosmetic Thread Hole Bottom View, Add Cosmetic Thread Bolt Side View, Add Cosmetic Thread Bolt Bottom View, Add Cosmetic Intersection Vertex(es), Add an offset vertex, Add Cosmetic Circle, Add Cosmetic Arc, Add Cosmetic Circle 3 Points, Add Cosmetic Parallel Line, Add Cosmetic Perpendicular Line
- Dimensions: Create Horizontal Chain Dimensions, Create Vertical Chain Dimensions, Create Oblique Chain Dimensions, Create Horizontal Coordinate Dimensions, Create Vertical Coordinate Dimensions, Create Oblique Coordinate Dimensions, Create Horizontal Chamfer Dimension, Create Vertical Chamfer Dimension, Create Arc Length Dimension, Insert '⌀' Prefix, Insert '〼' Prefix, Remove Prefix, Increase Decimal Places, Decrease Decimal Places
- Export: Export Page as SVG, Export Page as DXF
- Additional: Line Groups, Templates, Hatching, Geometric dimensioning and tolerancing, Preferences
Документация пользователя
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework