TechDraw Balloon/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Применение==")
(Updating to match new version of source page)
 
(14 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[TechDraw_LinkDimension/ru|Связать размер с 3D геометрией]]
|[[TechDraw_Dimension_Link/ru|Dimension Link]]
|[[TechDraw_LandmarkDimension/ru|Вставить размер знака]]
|[[TechDraw_Dimension_Landmark/ru|Dimension Landmark]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=TechDraw_Dimension_Link.svg
|IconL=TechDraw_LinkDimension.svg
|IconR=TechDraw_Dimension_Landmark.svg
|IconR=TechDraw_LandmarkDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
Line 21: Line 21:
}}
}}


<span id="Description"></span>
==Описание==
==Описание==


The Balloon tool can add balloons with leader line in a drawing.
The '''TechDraw Balloon''' tool can add balloons with leader line in a drawing.


[[Image:Techdraw_balloon.png|600px]]
[[Image:Techdraw_balloon.png|600px]]


<span id="Usage"></span>
==Применение==
==Применение==


# Select the View to which the Balloon will be attached.
# Select one of the following:
#* A View (on the page or in the [[Tree_view|Tree view]]).
# Press the {{Button|[[Image:TechDraw_Balloon.svg|16px]] [[TechDraw_Balloon|Balloon]]}} button.
#* A vertex in a View. {{Version|0.20}}
# The cursor is now displayed as a balloon icon. Click on the page to place the balloon origin to the desired position.
#* An edge in a View. {{Version|0.20}}
# The balloon bubble may be dragged to the desired position. Use {{KEY|Ctrl}}+drag to move the bubble and the arrow.
#* A closed region in a View. {{Version|0.20}}
# To change the balloon properties either double-clicking onto it in the drawing or double-click on the balloon object in the model tree. This will open the balloon dialog.
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:TechDraw_Balloon.svg|16px]] [[TechDraw_Balloon|Insert Balloon Annotation]]}} button.
#* Select the {{MenuCommand|TechDraw → Annotations → [[Image:TechDraw_Balloon.svg|16px]] Insert Balloon Annotation}} option from the menu.
# If a View or a region was selected:
## The cursor changes to a balloon icon.
## Click a point on the page for the origin of the Balloon.


'''Note:''' The position of the balloon is relative to the View and uses the same scale factor as the View.
To move the bubble of a Balloon, press and hold the left mouse button on its center and drag the mouse.

To change the properties of a Balloon double-click it on the page or in the [[Tree_view|Tree view]]. This will open the Balloon task panel.

'''Note:''' The position of a Balloon is relative to its Source View and uses the same scale factor.


== Using separators ==
== Using separators ==
Line 44: Line 56:
[[File:balloon_separator.png|300px]]
[[File:balloon_separator.png|300px]]


==Properties==
<span id="Properties"></span>
==Свойства==


=== Data ===
=== Data ===

* {{PropertyData|Text}}: Text to be displayed.
* {{PropertyData|Text}}: Text to be displayed.
* {{PropertyData|Source View}}: Source View for the balloon.
* {{PropertyData|Source View}}: Source View for the balloon.
* {{PropertyData|Origin X}}: Balloon origin x-position relative to the View.
* {{PropertyData|Origin X}}: Balloon origin x-position relative to the View.
* {{PropertyData|Origin Y}}: Balloon origin y-position relative to the View.
* {{PropertyData|Origin Y}}: Balloon origin y-position relative to the View.
* {{PropertyData|End Type}}: End symbol for the balloon line. Options: [[Image:Arrownone.svg|20px]] None, [[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
* {{PropertyData|End Type}}: End symbol for the balloon line. 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|End Type Scale}}: Scale factor for the '''End Type'''.
* {{PropertyData|End Type Scale}}: Scale factor for the '''End Type'''.
* {{PropertyData|Bubble Shape}}: Shape of the balloon bubble. Options: [[Image:Circular.svg|20px]] Circular, None, [[Image:Triangle.svg|20px]] Triangle, [[Image:Inspection.svg|20px]] Inspection, [[Image:Hexagon.svg|20px]] Hexagon, [[Image:TechDraw_Square.svg|20px]] Square, [[Image:Rectangle.svg|20px]] Rectangle
* {{PropertyData|Bubble Shape}}: Shape of the balloon bubble. Options: [[Image:Circular.svg|20px]] Circular, None, [[Image:Triangle.svg|20px]] Triangle, [[Image:Inspection.svg|20px]] Inspection, [[Image:Hexagon.svg|20px]] Hexagon, [[Image:TechDraw_Square.svg|20px]] Square, [[Image:Rectangle.svg|20px]] Rectangle.
* {{PropertyData|Shape Scale}}: Scale factor for the '''Shape'''.
* {{PropertyData|Shape Scale}}: Scale factor for the '''Shape'''.
* {{PropertyData|Text Wrap}}: Text wrap length; -1 means the text will never be wrapped and the result is in every case a single line.
* {{PropertyData|Text Wrap}}: Text wrap length; -1 means the text will never be wrapped and the result is in every case a single line.
Line 61: Line 75:


=== View ===
=== View ===

* {{PropertyView|Color}}: Color of the balloon text.
* {{PropertyView|Color}}: Color of the balloon text.
* {{PropertyView|Font}}: The name of the font to use for the balloon bubble.
* {{PropertyView|Font}}: The name of the font to use for the balloon bubble.
Line 67: Line 82:
* {{PropertyView|Line Width}}: Balloon line width
* {{PropertyView|Line Width}}: Balloon line width


==Scripting==
<span id="Scripting"></span>
==Программирование==


{{Emphasis|See also:}} [[TechDraw_API|TechDraw API]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
{{Emphasis|См. так же:}} [[TechDraw_API/ru|TechDraw API]] и [[FreeCAD_Scripting_Basics/ru|Основы составления скриптов FreeCAD]].


The Balloon tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
The Balloon tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following functions:
Line 79: Line 95:




<div class="mw-translate-fuzzy">
{{Docnav
{{Docnav/ru
|[[TechDraw_Dimension_Link|Dimension Link ]]
|[[TechDraw_LinkDimension/ru|Связать размер с 3D геометрией]]
|[[TechDraw_Dimension_Landmark|Dimension Landmark]]
|[[TechDraw_LandmarkDimension/ru|Вставить размер знака]]
|[[TechDraw_Workbench|TechDraw]]
|[[TechDraw_Workbench/ru|Верстак "TechDraw"]]
|IconL=TechDraw_Dimension_Link.svg
|IconL=TechDraw_LinkDimension.svg
|IconR=TechDraw_Dimension_Landmark.svg
|IconR=TechDraw_LandmarkDimension.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
}}
}}
</div>


{{TechDraw Tools navi{{#translation:}}}}
{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 09:59, 27 July 2023

Other languages:

Вставить примечание в выноску

Системное название
TechDraw_Balloon
Расположение в меню
TechDraw → Заметки → Вставить примечание в выноску
Верстаки
TechDraw
Быстрые клавиши
Нет
Представлено в версии
0.19
См. также
Вставить заметку

Описание

The TechDraw Balloon tool can add balloons with leader line in a drawing.

Применение

  1. Select one of the following:
  2. There are several ways to invoke the tool:
    • Press the Insert Balloon Annotation button.
    • Select the TechDraw → Annotations → Insert Balloon Annotation option from the menu.
  3. If a View or a region was selected:
    1. The cursor changes to a balloon icon.
    2. Click a point on the page for the origin of the Balloon.

To move the bubble of a Balloon, press and hold the left mouse button on its center and drag the mouse.

To change the properties of a Balloon double-click it on the page or in the Tree view. This will open the Balloon task panel.

Note: The position of a Balloon is relative to its Source View and uses the same scale factor.

Using separators

When using a rectangle shape, separators can be added using "|" in the text. For example "AAA|TEST|111" gives:

Свойства

Data

  • ДанныеText: Text to be displayed.
  • ДанныеSource View: Source View for the balloon.
  • ДанныеOrigin X: Balloon origin x-position relative to the View.
  • ДанныеOrigin Y: Balloon origin y-position relative to the View.
  • ДанныеEnd Type: End symbol for the balloon line. Options: Filled Arrow, Open Arrow, Tick, Dot, Open Circle, Fork, Filled Triangle, None.
  • ДанныеEnd Type Scale: Scale factor for the End Type.
  • ДанныеBubble Shape: Shape of the balloon bubble. Options: Circular, None, Triangle, Inspection, Hexagon, Square, Rectangle.
  • ДанныеShape Scale: Scale factor for the Shape.
  • ДанныеText Wrap: Text wrap length; -1 means the text will never be wrapped and the result is in every case a single line.
  • ДанныеKink Length: Distance from the Shape to the leader line kink.
  • ДанныеX: Horizontal position of the balloon bubble relative to the View.
  • ДанныеY: Vertical position of the balloon bubble relative to the View.

View

  • ВидColor: Color of the balloon text.
  • ВидFont: The name of the font to use for the balloon bubble.
  • ВидFontsize: Dimension text size in mm.
  • ВидLine Visible: Whether the balloon line is visible.
  • ВидLine Width: Balloon line width

Программирование

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

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

bal1 = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewBalloon','Balloon')
rc = page.addView(bal1)