TechDraw Balloon/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 3: Line 3:
{{Docnav
{{Docnav
|[[TechDraw_Dimension_Link|Dimension Link ]]
|[[TechDraw_Dimension_Link|Dimension Link ]]
|[[TechDraw_Dimension_Horizontal_Extent|New Horizontal Extent]]
|[[TechDraw_Dimension_Horizontal_Extent|Dimension Horizontal Extent]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_Link.svg
|IconL=TechDraw_Dimension_Link.svg
Line 31: Line 31:
# The balloon bubble may be dragged to the desired position. Use CTRL-drag to move the bubble and the arrow.
# The balloon bubble may be dragged to the desired position. Use CTRL-drag to move the bubble and the arrow.
# You can change balloon properties by double clicking balloon label or balloon object in the tree. This will open the Balloon task dialog.
# You can change balloon properties by double clicking balloon label or balloon object in the tree. This will open the Balloon task dialog.

'''Note:''' The position of the balloon is relative to the View and uses the same scale factor than the View.


== Using separators ==
== Using separators ==
Line 44: Line 46:
* {{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
* {{PropertyData|Origin X}}: Balloon origin x-position relative to the View.
* {{PropertyData|Origin Y}}: Balloon origin y-position
* {{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: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 Scale}}: Scale factor for the '''End Type'''.
* {{PropertyData|Shape}}: Shape of the balloon bubble. Options: [[Image:Circular.svg|20px]] Circular, None, [[Image:Triangular.svg|20px]] Triangle, [[Image:Inspection.svg|20px]] Inspection, [[Image:Hexagon.svg|20px]] Hexagon, [[Image:Square-Shape.svg|20px]] Square, [[Image:Rectangular.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 58: Line 61:
* {{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.
* {{PropertyView|Fontsize}}: Dimension text size in mm.
* {{PropertyView|Fontsize}}: Dimension text size in mm.
* {{PropertyView|Line Visible}}: Whether the balloon line is visible.
* {{PropertyView|Line Width}}: Balloon line width
* {{PropertyView|Line Width}}: Balloon line width


Line 73: Line 77:
{{Docnav
{{Docnav
|[[TechDraw_Dimension_Link|Dimension Link ]]
|[[TechDraw_Dimension_Link|Dimension Link ]]
|[[TechDraw_Dimension_Horizontal_Extent|New Horizontal Extent]]
|[[TechDraw_Dimension_Horizontal_Extent|Dimension Horizontal Extent]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_Link.svg
|IconL=TechDraw_Dimension_Link.svg

Revision as of 17:42, 29 December 2020

Other languages:

TechDraw Balloon

Menu location
TechDraw → Balloon
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.19
See also
TechDraw New annotation

Description

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

Usage

  1. Select the View to which the Balloon will be attached.
  2. Press the Balloon button.
  3. The cursor is now displayed as a balloon icon. Click on the page to place the balloon origin to the desired position.
  4. The balloon bubble may be dragged to the desired position. Use CTRL-drag to move the bubble and the arrow.
  5. You can change balloon properties by double clicking balloon label or balloon object in the tree. This will open the Balloon task dialog.

Note: The position of the balloon is relative to the View and uses the same scale factor than the View.

Using separators

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

Properties

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: None, Filled Arrow, Open Arrow, Tick, Dot, Open Circle, Fork, Filled Triangle
  • Данные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

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

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)