TechDraw NewDraft/ru
Jump to navigation
Jump to search
Outdated translations are marked like this.
This command exists up to version 0.18. Starting from version 0.19 it is replaced by TechDraw DraftView
Расположение в меню |
---|
TechDraw → |
Верстаки |
TechDraw |
Быстрые клавиши |
Никто |
Представлено в версии |
- |
См. также |
Draft Workbench, TechDraw NewArch |
Description
The DraftView tool inserts a view of a selected Part-based or Group object into a drawing page. Unlike the standard View tool, views created with this tool are handled by the Draft Workbench, and specially designed for showing 2D objects. See Notes.
Usage
- Select a draft object in the 3D view or in the tree
- If you have multiple drawing pages in your document, you will need to select the desired page in the tree.
- Press the
DraftView button
- A view of the draft object will appear on the page.
Limitations
The DraftView is rendered within the Draft Workbench, therefore TechDraw has limited control over its appearance. You may need to make changes within Draft to get the representation you want.
Options
- Creating a Draft View of a group will recursively handle all the objects found into that group and in its subgroups. The View is updated automatically when the contents of the group changes
- There is no hidden line removal. Each face found in the handled object(s) will simply be projected along the Direction vector, no specific action is taken when faces overlap
- The Draft View also supports all Draft objects that are not Part-based, such as dimensions and texts
- Color, line width and line pattern can be specified in the properties. Line patterns can be fine-tuned by directly giving a stroke-dasharray value, such as 3,5
- Projected faces are filled with the face color
Properties
- DataSource: The draft object to be displayed
- DataLineWidth: The width of the lines, independently of the scale
- DataFontSize: The size of all texts appearing in this view (texts and dimensions)
- DataDirection: The projection direction to use
- DataColor: The color of lines
- DataLineStyle: A line style to use for this view. Can be Solid, Dashed, Dashdot, Dot or a SVG line pattern like 0.20,0.20
- DataLineSpacing: The spacing to use between lines of texts for multiline texts
Note: DraftView inherits all applicable basic View properties.
Scripting
See also: TechDraw API and FreeCAD Scripting Basics.
The New Draft tool can be used in macros and from the Python console by using the following functions:
dv = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewDraft','TestDraft')
dv.Source = myDraftbject
rc = page.addView(dv)
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