TechDraw NewAnnotation/ru
Jump to navigation
Jump to search
This command exists up to version 0.18. Starting from version 0.19 it is replaced by TechDraw Annotation
Расположение в меню |
---|
TechDraw → Annotation |
Верстаки |
TechDraw |
Быстрые клавиши |
Никто |
Представлено в версии |
- |
См. также |
Draft Text, Draft ShapeString |
Contents |
Description
The Annotation tool adds a text block to a drawing page.
Annotation in the drawing page
Usage
- If you have multiple drawing pages in your document, you will need to select the desired page in the tree.
- Press the
Annotation button
- A text block containing "Default Text" will appear on the page. Use the property editor to change the text. Drag the Annotation to the required position.
- You may need to press recompute
to get your text to change.
Modifying the annotation through the property editor
Note: some characters interfere with the internal representation of the Annotation text. Specifically, these are the double quote "
, less than <
, and greater than >
symbols; these must be replaced by HTML escape characters, "
, <
, and >
respectively. See Character encodings in HTML for details.
Properties
The Annotation inherits all applicable basic View properties except DataScale. Use the DataTextSize property instead.
- DataText: The text to be displayed.
- DataFont: The name of the font to use. Annotation will use the best match of installed fonts.
- DataTextColor: The color of the text.
- DataTextSize: The size of the text in mm.
- DataMaxWidth: The maximum width of the Annotation block. -1 indicates no maximum width.
- DataLineSpace: Line spacing adjustment (%).
- DataTextStyle: "Normal", "Bold", "Italic", "Bold-Italic"
Scripting
See also: TechDraw API and FreeCAD Scripting Basics.
The New Annotation tool can be used in macros and from the Python console by using the following functions:
anno = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewAnnotation','TestAnno')
anno.Text = ['Different Text']
anno.TextStyle = 'Bold'
rc = page.addView(anno)
Notes
TechDraw
- Pages: New Default, New Pick
- Views: New View, New Projection Group, New Section, New Detail, New Annotation, New Draft, New Arch, Spreadsheet
- Clips: Clip, ClipPlus, ClipMinus
- Dimensions: New Length, New Horizontal, New Vertical, New Radius, New Diameter, New Angle, New Angle3Pt, New Links
- Decoration: Hatch Area, Geometric Hatch, New Symbol, New Image, Toggle Frames
- Utilities: SaveSVG, SaveDXF
- Additional: Preferences, Import-Export Preferences; Hatching, LineGroup, Templates; TechDraw API, TechDrawGui API
Документация пользователя

- Установка: Windows, Linux, Mac; Начинающим
- Базовая: О FreeCAD, Верстаки, Настройки, Структура документа, Настройка интерфейса, Свойства, Модель мыши; Учебники
- Верстаки: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Скрипты: Введение в Python, Учебник скриптов FreeCAD, Основы скриптов FreeCAD, Установка макросов, Команды графического интерфейса, Единицы Модули: Создание модулей, Создание верстаков, Добавление верстаков Сетки: Сеточные скрипты, Модуль сеток Детали: Модуль Part, Скрипты топологических данных, PythonOCC, Из Mesh в Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Интерфейс Qt: PySide, Использование графического интерфейса FreeCAD, Создание диалогов Параметрические объекты: Скриптовые объекты Прочее: Кусочки кода, Функции рисования линий, Встраивание FreeCAD, Библиотека векторной математики FreeCAD, Хаб опытных пользователей, Python, Макросы, Основы скриптов FreeCAD, Topological data scripting