Draft Workbench/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(119 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
<div class="mw-translate-fuzzy">
|[[Arch Workbench|Arch Workbench]]
{{Docnav/ru
|[[Drawing Workbench|Drawing Workbench]]
|[[Arch Workbench/ru|Верстак Arch]]
|[[Drawing Workbench/ru|Верстак Drawing]]
|IconL=Workbench_Arch.svg
|IconL=Workbench_Arch.svg
|IconR=Workbench_Drawing.svg
|IconR=Workbench_Drawing.svg
}}
}}
[[Image:Workbench_Draft.svg|240px|center]]
{{Caption|align=center|The FreeCAD Draft Workbench Icon}}

<div class="mw-translate-fuzzy">
Верстак Draft позволяет быстро начертить в текущем документе простые двумерные объекты и предлагает некоторые инструменты для их модификации. Некоторые из этих инструментов так же работают на других объектах FreeCAD, сделанных не на верстаке Draft. На верстаке имеется полнофункциональная система привязки и некоторые утилиты для управления объектами и установками.
</div>
</div>


[[Image:Workbench_Draft.svg|thumb|128px|Логотип верстака Draft на котором изображен кульман]]
The created 2D objects can be used for general drafting in a way similar to Inkscape or Autocad. These 2D shapes can also be used as the base components of 3D objects created with other workbenches, for example, the [[Part Workbench|Part]] and [[Arch Workbench|Arch Workbench]]es. Conversion of Draft objects to [[Sketcher Workbench|Sketches]] is also possible, which means that the shapes can also be used with the [[PartDesign Workbench|PartDesign Workbench]] for the creation of solid bodies.

FreeCAD is primarily a 3D modelling application, and thus its 2D tools aren't as advanced as in other drawing programs. If your primary goal is the production of complex 2D drawings and [[DXF|DXF]] files, and you don't need 3D modelling, you may wish to consider a dedicated software program for technical drafting such as [https://en.wikipedia.org/wiki/LibreCAD LibreCAD], [https://en.wikipedia.org/wiki/QCad QCad], TurboCad, and others.


{{TOCright}}
{{TOCright}}

[[Image:Draft_Workbench_Example.png|600px|Draft Workbench Example]]
<span id="Introduction"></span>
== Введение ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
[[File:Workbench_Draft.svg|32px]] [[Draft_Workbench/ru|Верстак Draft Workbench]] позволяет начертить простые двумерные объекты и предлагает некоторые инструменты для их последующей модификации. Он так же предоставляет инструменты для указания рабочей плоскости, сетки и привязки для точного управления расположением геометрии.
===Черчение объектов===
</div>
</div>

Инструменты для создания объектов.


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Создаваемые плоские объекты могут использоваться для общего черчения как в программах Inkscape или Autocad. Эти плоские фигуры могут так же использоваться как базовые компоненты трёхмерных объектов, создаваемых другими верстаками, например, [[File:Workbench_Part.svg|32px]] [[Part_Workbench/ru|Part]] и [[File:Workbench_Arch.svg|32px]] [[Arch_Workbench/ru|Arch]]. Так же возможно преобразование объектов Draft в объекты [[File:Workbench_Sketcher.svg|32px]] [[Sketcher_Workbench/ru|Sketch]], это значит, что фигуры могут так же использоваться в [[File:Workbench_PartDesign.svg|32px]] [[PartDesign_Workbench/ru|верстаке PartDesign]] для создания твёрдых тел.
* [[Image:Draft_Line.png|32px]] [[Draft_Line/ru|Линия]]: создать отрезок через две точки
* [[Image:Draft_Wire.png|32px]] [[Draft_Wire/ru|DWire (полилиния)]]: создать кривую, состоящую из отрезков (полилинию)
* [[Image:Draft_Circle.png|32px]] [[Draft_Circle/ru|Окружность]]: pисует правильный многоугольник от центра, радиуса и количества сторон
* [[Image:Draft_Arc.png|32px]] [[Draft_Arc/ru|Дуга]]: создать дугу по центру, радиусу и начальному и конечному углу
* [[Image:Draft_Ellipse.png|32px]] [[Draft_Ellipse/ru|Эллипс]]: создать эллипс по двум угловым точкам
* [[Image:Draft_Polygon.png|32px]] [[Draft_Polygon/ru|Многоугольник]]: создать правильный многоугольник по из центру и радиусу
* [[Image:Draft_Rectangle.png|32px]] [[Draft_Rectangle/ru|Прямоугольник]]: создать прямоугольник по двум противоположным точкам
* [[Image:Draft_Text.png|32px]] [[Draft_Text/ru|Текст]]: создать многострочную текстовую аннотацию
* [[Image:Draft_Dimension.png|32px]] [[Draft_Dimension/ru|Размер]]: создать размерную линию
* [[Image:Draft_BSpline.png|32px]] [[Draft_BSpline/ru|B-сплайн]]: создать B-сплайн из последовательности точек
* [[Image:Draft_Point.png|32px]] [[Draft_Point/ru|Точка]]: создать точку
* [[Image:Draft_ShapeString.png|32px]] [[Draft_ShapeString/ru|Текст в кривую]]: создать сложную форму, представляющую текстовую строку
* [[Image:Draft_Facebinder.png|32px]] [[Draft_Facebinder/ru|Граневяз]]: создать новый объект из выбранных граней существующих объектов
* [[Image:Draft_BezCurve.png|32px]] [[Draft_BezCurve/ru|Кривая Безье]]: создать кривую Безье из последовательности точек
* [[Image:Draft_Label.png|32px]] [[Draft_Label/ru|этикетка]]: Подписанные места со стрелкой, указывающей на выбранный элемент {{Version/ru|0.17}}
</div>
</div>

The Draft Workbench also provides tools to define a [[Draft_SelectPlane|working plane]], a [[Draft_Snap_Grid|grid]], and a [[Draft_Snap|snapping system]] to precisely control the position of geometry.


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
FreeCAD — это, прежде всего, приложение для 3D-моделирования, и поэтому его инструменты для двумерного рисования не столь совершенны, как в других чертёжных программах. Если вашей основной целью является создание сложных 2D-чертежей и файлов в формате [[DXF/ru|DXF]], и вам не нужно 3D-моделирование, возможно вы захотите использовать специальное программное обеспечения для технического черчения, такое как [https://ru.wikipedia.org/wiki/LibreCAD LibreCAD], [https://ru.wikipedia.org/wiki/QCad QCad], TurboCad и другие.
===Изменение объектов===
</div>
</div>


[[Image:Draft_Workbench_Example.png]]
Эти инструменты изменяют существующие объекты. Они работают на выбранных объектах, но если ни одного объекта не выбрано, вам будет предложено его выбрать.
{{Caption|The image shows the [[Draft_Snap_Grid|grid]] aligned with the XY plane.<br>
On the left, in white, several planar objects.<br>
On the right a non-planar [[Draft_Wire|Draft Wire]] used as the Path Object of a [[Draft_PathArray|Draft PathArray]].}}


== Drafting ==
Many operation tools (move, rotate, array, etc.) also work on solid objects ([[Part Workbench|Part]], [[PartDesign Workbench|PartDesign]], [[Arch Workbench|Arch]], etc.).


* [[Image:Draft_Line.svg|32px]] [[Draft_Line|Line]]: creates a straight line.
<div class="mw-translate-fuzzy">

* [[Image:Draft_Move.png|32px]] [[Draft_Move/ru|Перемещение]]: Перемещает объект(ы) из одной локации в другую
* [[Image:Draft_Wire.svg|32px]] [[Draft_Wire|Polyline]]: creates a polyline (also called wire), a sequence of several connected line segments.
* [[Image:Draft_Rotate.png|32px]] [[Draft_Rotate/ru|Повернуть]]: Поворачивает объект(ы) от начального и до конечного угла

* [[Image:Draft_Offset.png|32px]] [[Draft_Offset/ru|Смещение]]: Перемещает сегменты объекта на заданное расстояние
* [[Image:Draft_Fillet.svg|32px]] [[Draft_Fillet|Fillet]]: creates a fillet, a rounded corner, or a chamfer, a straight edge, between two [[Draft_Line|Draft Lines]].
* [[Image:Draft_Trimex.png|32px]] [[Draft_Trimex/ru|Trimex]]: Уменьшает или увеличивает длину объекта

* [[Image:Draft_Upgrade.png|32px]] [[Draft_Upgrade/ru|Обновить]]: Объединяет объекты в более сложный объект
* <span id="Draft_ArcTools">[[Image:Draft_Arc.svg|x32px]][[Image:Toolbar_flyout_arrow_blue_background.svg|x32px]] Arc tools:</span><!--Do not edit span id: the Draft_ArcTools pages redirect here-->
* [[Image:Draft_Downgrade.png|32px]] [[Draft_Downgrade/ru|Перестроить]]: Разделяет объекты на простые составляющие

* [[Image:Draft_Scale.png|32px]] [[Draft_Scale/ru|Масштаб]]: Изменяет масштаб выбранного(ых) объекта(ов) вокруг базовой точки
:* [[Image:Draft_Arc.svg|32px]] [[Draft_Arc|Arc]]: creates a circular arc from a center, a radius, a start angle and an aperture angle.
* [[Image:Draft_Edit.png|32px]] [[Draft_Edit/ru|Правка]]: Редактировать выбранный объект

* [[Image:Draft_WireToBSpline.png|32px]] [[Draft_WireToBSpline/ru|направляющая в BSpline]]: Преобразовать полилинию в B-Сплайн и наоборот
:* [[Image:Draft_Arc_3Points.svg|32px]] [[Draft_Arc_3Points|Arc by 3 points]]: creates a circular arc from three points that define its circumference.
* [[Image:Draft_AddPoint.png|32px]] [[Draft_AddPoint/ru|Добавить точку]]: Добавить точку в полилинию или B-Сплайн

* [[Image:Draft_DelPoint.png|32px]] [[Draft_DelPoint/ru|Удалить точку]]: Удаляет точку из полилинии или B-Сплайна
* [[Image:Draft_Circle.svg|32px]] [[Draft_Circle|Circle]]: creates a circle from a center and a radius.
* [[Image:Draft_Shape2DView.png|32px]] [[Draft_Shape2DView/ru|2D вид фигуры]]: Создаёт двумерный объект, представляющий собой плоскую проекцию другого трёхмерного объекта

* [[Image:Draft_Draft2Sketch.png|32px]] [[Draft_Draft2Sketch/ru|Преобразовать в эскиз]]: Преобразует объект Draft в эскиз и обратно
* [[Image:Draft_Ellipse.svg|32px]] [[Draft_Ellipse|Ellipse]]: creates an ellipse from two points defining a rectangle in which the ellipse will fit.
* [[Image:Draft_Array.png|32px]] [[Draft_Array/ru|Массив]]: Создаёт полярный или прямоугольный массив из выбранных объектов

* [[Image:Draft_PathArray.png|32px]] [[Draft_PathArray/ru|Массив по направляющей]]: Создаёт массив объектов, помещая копии вдоль пути
* [[Image:Draft_PointArray.svg|32px]] [[Draft_PointArray|Point Array]]: Creates an array of objects by placing the copies at certain points {{version|0.18}}
* [[Image:Draft_Rectangle.svg|32px]] [[Draft_Rectangle|Rectangle]]: creates a rectangle from two points.

* [[Image:Draft_PutOnSheet.png|32px]] [[Draft_Drawing|Drawing]]:Записывает выбранные объекты на страницу [[Drawing Workbench]]
* [[Image:Draft_Polygon.svg|32px]] [[Draft_Polygon|Polygon]]: creates a regular polygon from a center and a radius.
* [[Image:Draft_Clone.png|32px]] [[Draft_Clone/ru|Клонировать]]: Клонирует выбранные объекты

* [[Image:Draft_Mirror.png|32px]] [[Draft_Mirror/ru|Отразить]]: Создаёт зеркальное отражение выбранных объектов
* [[Image:Draft_BSpline.svg|32px]] [[Draft_BSpline|B-spline]]: creates a B-spline curve from several points.
* [[Image:Draft_Stretch.png|32px]] [[Draft_Stretch/ru|Pастягивать]]: растягивает выбранные объекты {{Version/ru|0.17}}

</div>
* <span id="Draft_BezierTools">[[Image:Draft_CubicBezCurve.svg|x32px]][[Image:Toolbar_flyout_arrow_blue_background.svg|x32px]] Bézier tools:</span><!--Do not edit span id: the Draft_BezierTools pages redirect here-->

:* [[Image:Draft_CubicBezCurve.svg|32px]] [[Draft_CubicBezCurve|Cubic Bézier curve]]: creates a Bézier curve of the third degree.

:* [[Image:Draft_BezCurve.svg|32px]] [[Draft_BezCurve|Bézier curve]]: creates a Bézier curve from several points.

* [[Image:Draft_Point.svg|32px]] [[Draft_Point|Point]]: creates a simple point.

* [[Image:Draft_Facebinder.svg|32px]] [[Draft_Facebinder|Facebinder]]: creates a surface object from selected faces.

* [[Image:Draft_ShapeString.svg|32px]] [[Draft_ShapeString|ShapeString]]: creates a compound shape that represents a text string.

* [[Image:Draft_Hatch.svg|32px]] [[Draft_Hatch|Hatch]]: creates hatches on the planar faces of a selected object. {{Version|0.20}}

== Annotation ==

* [[Image:Draft_Text.svg|32px]] [[Draft_Text|Text]]: creates a multi-line text at a given point.

* [[Image:Draft_Dimension.svg|32px]] [[Draft_Dimension|Dimension]]: creates a linear dimension, a radial dimension or an angular dimension.

* [[Image:Draft_Label.svg|32px]] [[Draft_Label|Label]]: creates a multi-line text with a 2-segment leader line and an arrow.

* [[Image:Draft_AnnotationStyleEditor.svg|32px]] [[Draft_AnnotationStyleEditor|Annotation styles...]]: allows you to define styles that affect the visual properties of annotation-like objects.

== Modification ==

* [[Image:Draft_Move.svg|32px]] [[Draft_Move|Move]]: moves or copies selected objects from one point to another.

* [[Image:Draft_Rotate.svg|32px]] [[Draft_Rotate|Rotate]]: rotates or copies selected objects around a center point by a given angle.

* [[Image:Draft_Scale.svg|32px]] [[Draft_Scale|Scale]]: scales or copies selected objects around a base point.

* [[Image:Draft_Mirror.svg|32px]] [[Draft_Mirror|Mirror]]: creates mirrored copies from selected objects.

* [[Image:Draft_Offset.svg|32px]] [[Draft_Offset|Offset]]: offsets each segment of a selected object over a given distance, or creates an offset copy of the selected object.

* [[Image:Draft_Trimex.svg|32px]] [[Draft_Trimex|Trimex]]: trims or extends a selected object.

* [[Image:Draft_Stretch.svg|32px]] [[Draft_Stretch|Stretch]]: stretches objects by moving selected points.

* [[Image:Draft_Clone.svg|32px]] [[Draft_Clone|Clone]]: creates linked copies, clones, of selected objects.

* <span id="Draft_ArrayTools">[[Image:Draft_OrthoArray.svg|x32px]][[Image:Toolbar_flyout_arrow_blue_background.svg|x32px]] Array tools:</span><!--Do not edit span id: the Draft_ArrayTools pages redirect here-->

:* [[Image:Draft_OrthoArray.svg|32px]] [[Draft_OrthoArray|Array]]: creates an orthogonal array from a selected object. It can optionally create a [[App_Link|Link]] array.

:* [[File:Draft_PolarArray.svg|32px]] [[Draft_PolarArray|Polar array]]: creates an array from a selected object by placing copies along a circumference. It can optionally create a [[App_Link|Link]] array.

:* [[File:Draft_CircularArray.svg|32px]] [[Draft_CircularArray|Circular array]]: creates an array from a selected object by placing copies along concentric circumferences. It can optionally create a [[App_Link|Link]] array.

:* [[Image:Draft_PathArray.svg|32px]] [[Draft_PathArray|Path array]]: creates an array from a selected object by placing copies along a path.

:* [[Image:Draft_PathLinkArray.svg|32px]] [[Draft_PathLinkArray|Path link array]]: idem, but create a [[App_Link|Link]] array instead of a regular array.

:* [[Image:Draft_PointArray.svg|32px]] [[Draft_PointArray|Point array]]: creates an array from a selected object by placing copies at the points from a point compound.

:* [[File:Draft_PointLinkArray.svg|32px]] [[Draft_PointLinkArray|Point link array]]: idem, but create a [[App_Link|Link]] array instead of a regular array.

* [[Image:Draft_Edit.svg|32px]] [[Draft_Edit|Edit]]: puts selected objects in Draft Edit mode. In this mode the properties of objects can be edited graphically.

* [[Image:Draft_SubelementHighlight.svg|32px]] [[Draft_SubelementHighlight|Subelement highlight]]: temporarily highlights selected objects, or the base objects of selected objects.

* [[Image:Draft_Join.svg|32px]] [[Draft_Join|Join]]: joins [[Draft_Line|Draft Lines]] and [[Draft_Wire|Draft Wires]] into a single wire.

* [[Image:Draft_Split.svg|32px]] [[Draft_Split|Split]]: splits a [[Draft_Line|Draft Line]] or [[Draft_Wire|Draft Wire]] at a specified point or edge.

* [[Image:Draft_Upgrade.svg|32px]] [[Draft_Upgrade|Upgrade]]: upgrades selected objects.

* [[Image:Draft_Downgrade.svg|32px]] [[Draft_Downgrade|Downgrade]]: downgrades selected objects.

* [[Image:Draft_WireToBSpline.svg|32px]] [[Draft_WireToBSpline|Wire to B-spline]]: converts [[Draft_Wire|Draft Wires]] to [[Draft_BSpline|Draft BSplines]] and vice versa.

* [[Image:Draft_Draft2Sketch.svg|32px]] [[Draft_Draft2Sketch|Draft to sketch]]: converts Draft objects to [[Sketcher_NewSketch|Sketcher Sketches]] and vice versa.

* [[Image:Draft_Slope.svg|32px]] [[Draft Slope|Set slope]]: slopes selected [[Draft_Line|Draft Lines]] or [[Draft_Wire|Draft Wires]] by increasing, or decreasing, the Z coordinate of all points after the first one.

* [[Image:Draft_FlipDimension.svg|32px]] [[Draft_FlipDimension|Flip dimension]]: rotates the dimension text of selected [[Draft_Dimension|Draft Dimensions]] 180° around the dimension line.

* [[Image:Draft_Shape2DView.svg|32px]] [[Draft_Shape2DView|Shape 2D view]]: creates 2D projections from selected objects.

== Draft Tray ==

Панель инструментов Draft появляется когда стартует верстак, и позволяет выбрать рабочую плоскость, вместе с некоторыми визуальными параметрами вроде цвета линии, цвета фигур, размера текста, ширина линии, и автоматической группы.

[[Image:Draft_tray_default.png]]


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
* [[Image:Draft_tray_button_plane.png]] [[Draft_SelectPlane|Select Plane]]: selects the current Draft working plane. Also available in the menu: {{MenuCommand|Draft → Utilities → [[Image:Draft_SelectPlane.svg|16px]] Select Plane}}.
=== Утилиты инструменты ===
</div>
</div>


* [[Image:Draft_tray_button_style.png]] [[Draft_SetStyle|Set style]]: sets the default style for new objects. Also available in the menu: {{MenuCommand|Draft → Utilities → [[Image:Draft_SetStyle.svg|16px]] Set style}}.

* [[Image:Draft_tray_button_construction.png]] [[Draft_ToggleConstructionMode|Toggle construction mode]]: switches Draft construction mode on or off. Also available in the menu: {{MenuCommand|Draft → Utilities → [[Image:Draft_ToggleConstructionMode.svg|16px]] Toggle construction mode}}.

* [[Image:Draft_tray_button_layer.png]] [[Draft_AutoGroup|AutoGroup]]: changes the active [[Draft_Layer|Draft Layer]] or, optionally, the active [[Std_Group|Std Group]] or group-like [[Arch_Workbench|Arch]] object.

== Draft annotation scale widget ==

With the [[Draft_annotation_scale_widget|Draft annotation scale widget]] the Draft annotation scale can be specified.

[[Image:Draft_annotation_scale_widget_button.png]]

== Draft snap widget ==

The [[Draft_snap_widget|Draft snap widget]] can be used as an alternative for the [[#Draft_snap_toolbar|Draft snap toolbar]].

[[Image:Draft_snap_widget_button.png]]

<span id="Draft_snap_toolbar"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
== Панель инструментов привязки Draft ==
Через контекстное меню по правому клику мыши доступны дополнительные инструменты, зависящие от выбранного объекта.
</div>
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Панель инструментов [[Draft_Snap/ru|Draft Snap]] позволяет выбрать текущий режим привязки. Его кнопка остаётся ненажатой при активности режима.
* [[Image:Draft_SelectPlane.png|32px]] [[Draft SelectPlane/ru|Выбор плоскости]]: Устанавливает вашу рабочую плоскость для следующих операций
* [[Image:Draft_FinishLine.png|32px]] [[Draft_FinishLine/ru|Закончить линию]]: Завершает черчение текущей полилинии или сплайна без их замыкания
* [[Image:Draft_CloseLine.png|32px]] [[Draft_CloseLine/ru|Замкнуть линию]]: Заканчивает черчение текущей полилинии или сплайна, и замыкает их
* [[Image:Draft_UndoLine.png|32px]] [[Draft_UndoLine/ru|Отменить последний сегмент]]: Отменяет последний сегмент линии
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_ToggleConstructionMode/ru|Переключить режим конструирования]]: Включает и выключает режим конструирования
* [[Image:Draft_ToggleContinueMode.png|32px]] [[Draft_ToggleContinueMode/ru|Переключить режим продолжения]]: Включает и выключает режим продолжения
* [[Image:Draft_Apply.png|32px]] [[Draft_Apply/ru|Применить текущий стиль]]: Устанавливает для выделенных объектов указанный цвет и длину линий
* [[Image:Draft_ToggleDisplayMode.png|32px]] [[Draft_ToggleDisplayMode/ru|Переключить режим отображения]]: Переключить режим отображения выбранных объектов между "flat lines" и "wireframe"
* [[Image:Draft_AddToGroup.png|32px]] [[Draft_AddToGroup/ru|Добавить в группу]]: Быстро добавить выбранные объекты в существующую группу
* [[Image:Draft_SelectGroup.png|32px]] [[Draft_SelectGroup/ru|Выбрать группу]]: Выбрать содержимое выбранной группы
* [[Image:Draft_ToggleSnap.png|32px]] [[Draft_ToggleSnap/ru|Toggle snap]]: Toggles [[Draft Snap|object snapping]] on/off
* [[Image:Draft_ToggleGrid.png|32px]] [[Draft_ToggleGrid/ru|Toggle grid]]: Toggles the grid on/off
* [[Image:Draft_ShowSnapBar.png|32px]] [[Draft_ShowSnapBar/ru|Show snap bar]]: Shows/hides the [[Draft Snap/ru|snapping]] toolbar
* [[Image:Draft_Heal.png|32px]] [[Draft_Heal/ru|Heal]]: Heals problematic Draft objects found in very old files
* [[Image:Draft_FlipDimension.png|32px]] [[Draft_FlipDimension/ru|Flip Dimension]]: Flips the orientation of the text of a [[Draft Dimension/ru|dimension]]
* [[Image:Draft_VisGroup.png|32px]] [[Draft_VisGroup/ru|VisGroup]]: Creates a VisGroup in the current document
* [[Image:Draft_Slope.png|32px]] [[Draft Slope/ru|Slope]]: Changes the slope of selected Lines or Wires {{Version/ru|0.17}}
* [[Image:Draft_AutoGroup.png|32px]] [[Draft AutoGroup/ru|AutoGroup]]: Automatically place new objects in a given group {{Version/ru|0.17}}
* [[Image:Draft_SetWorkingPlaneProxy.png|32px]] [[Draft SetWorkingPlaneProxy/ru|Set Working Plane Proxy]]: Add a proxy object in the document to store a [[Draft_SelectPlane/ru|Working Plane]] position {{Version/ru|0.17}}
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_AddConstruction/ru|Add to Construction group]]: Add selected objects to the Construction group {{Version/ru|0.17}}
</div>
</div>

* [[Image:Draft_Snap_Lock.svg|32px]] [[Draft_Snap_Lock|Snap lock]]: enables or disables snapping globally.

* [[Image:Draft_Snap_Endpoint.svg|32px]] [[Draft_Snap_Endpoint|Snap endpoint]]: snaps to the endpoints of edges.

* [[Image:Draft_Snap_Midpoint.svg|32px]] [[Draft_Snap_Midpoint|Snap midpoint]]: snaps to the midpoint of edges.

* [[Image:Draft_Snap_Center.svg|32px]] [[Draft_Snap_Center|Snap center]]: snaps to the center point of faces and circular edges, and to the {{PropertyData|Placement}} point of [[Draft_WorkingPlaneProxy|Draft WorkingPlaneProxies]] and [[Arch_BuildingPart|Arch BuildingParts]].

* [[Image:Draft_Snap_Angle.svg|32px]] [[Draft_Snap_Angle|Snap angle]]: snaps to the special cardinal points on circular edges, at multiples of 30° and 45°.

* [[Image:Draft_Snap_Intersection.svg|32px]] [[Draft_Snap_Intersection|Snap intersection]]: snaps to the intersection of two edges.

* [[Image:Draft_Snap_Perpendicular.svg|32px]] [[Draft_Snap_Perpendicular|Snap perpendicular]]: snaps to the perpendicular points on faces ({{Version|0.21}}) and edges.

* [[Image:Draft_Snap_Extension.svg|32px]] [[Draft_Snap_Extension|Snap extension]]: snaps to an imaginary line that extends beyond the endpoints of straight edges.

* [[Image:Draft_Snap_Parallel.svg|32px]] [[Draft_Snap_Parallel|Snap parallel]]: snaps to an imaginary line parallel to straight edges.

* [[Image:Draft_Snap_Special.svg|32px]] [[Draft_Snap_Special|Snap special]]: snaps to special points defined by the object.

* [[Image:Draft_Snap_Near.svg|32px]] [[Draft_Snap_Near|Snap near]]: snaps to the nearest point on faces and edges.

* [[Image:Draft_Snap_Ortho.svg|32px]] [[Draft_Snap_Ortho|Snap ortho]]: snaps to imaginary lines that cross the previous point at multiples of 45°.

* [[Image:Draft_Snap_Grid.svg|32px]] [[Draft_Snap_Grid|Snap grid]]: snaps to the intersections of grid lines.

* [[Image:Draft_Snap_WorkingPlane.svg|32px]] [[Draft_Snap_WorkingPlane|Snap working plane]]: projects snap points onto the current [[Draft_SelectPlane|working plane]].

* [[Image:Draft_Snap_Dimensions.svg|32px]] [[Draft_Snap_Dimensions|Snap dimensions]]: shows temporary X and Y dimensions.

* [[Image:Draft_ToggleGrid.svg|32px]] [[Draft_ToggleGrid|Toggle grid]]: changes the visibility of the grid.

<span id="Draft_utility_tools_toolbar"></span>
== Сервисные инструменты ==

* [[Image:Draft_LayerManager.svg|32px]] [[Draft_LayerManager|Manage layers...]]: allows to manage the layers in a document. {{Version|0.21}}

* [[Image:Draft_AddNamedGroup.svg|32px]] [[Draft_AddNamedGroup|Add a new named group]]: creates a named [[Std_Group|Std Group]] and moves selected objects to that group. {{Version|0.20}}

* [[Image:Draft_AddToGroup.svg|32px]] [[Draft_AddToGroup|Move to group...]]: moves objects to a [[Std_Group|Std Group]]. It can also ungroup objects.

* [[Image:Draft_SelectGroup.svg|32px]] [[Draft_SelectGroup|Select group]]: selects the contents of [[Std_Group|Std Groups]] or group-like [[Arch_Workbench|Arch]] objects.

* [[Image:Draft_AddConstruction.svg|32px]] [[Draft_AddConstruction|Add to construction group]]: moves objects to the [[Draft_ToggleConstructionMode|Draft construction group]].

* [[Image:Draft_ToggleDisplayMode.svg|32px]] [[Draft_ToggleDisplayMode|Toggle normal/wireframe display]]: switches the {{PropertyView|Display Mode}} property of selected objects between {{Value|Flat Lines}} and {{Value|Wireframe}}.

* [[Image:Draft_WorkingPlaneProxy.svg|32px]] [[Draft_WorkingPlaneProxy|Create working plane proxy]]: creates a working plane proxy to save the current [[Draft_SelectPlane|Draft working plane]].

<span id="Additional_tools"></span>
== Меню Вспомогательные ==

Дополнительные инструменты доступны из меню {{MenuCommand|Draft → Вспомогательные}}, или через контекстное меню по правому клику мыши, зависящее от выбранного объекта.

* [[Image:Draft_ApplyStyle.svg|32px]] [[Draft_ApplyStyle|Apply current style]]: applies the current style settings to selected objects.

* [[Image:Draft_Layer.svg|32px]] [[Draft_Layer|Layer]]: creates a [[Draft_Layer|Draft Layer]]. Available in the [[Draft_Workbench#Draft_utility_tools_toolbar|Draft utility tools toolbar]] in {{VersionMinus|0.20}}.

* [[Image:Draft_Heal.svg|32px]] [[Draft_Heal|Heal]]: heals problematic Draft objects found in very old files.

* [[Image:Draft_ShowSnapBar.svg|32px]] [[Draft_ShowSnapBar|Show snap toolbar]]: shows the [[#Draft_snap_toolbar|Draft snap toolbar]].

<span id="Additional_features"></span>
== Дополнительные возможности ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
* [[Draft_Constrain/ru|Геометрические ограничения]]: ограничивает указатель в горизонтальном или вертикальном перемещении относительно предыдущей точки.
===Предпочтения===
* [[Draft_Snap/ru|Привязка]]: позволяет разместить новые точки на специальных частях существующих объектов или на сетке.
* [[Draft ToggleConstructionMode/ru|Construction Mode]]: позволяет создавать отдельную от остальной геометрию, просто включая или выключая этот режим.
* [[Draft_SelectPlane/ru|Рабочая плоскость]]: позволяет задать плоскость в трёхмерном пространстве, где будут проводиться операции с плоскими фигурами
</div>
</div>

== Tree view context menu ==

The following additional options are available in the [[Tree_view|Tree view]] context menu:

=== Default options ===

For most Draft objects the following option is available:

* Edit: edits the object. Depending on the object type either [[Draft_Edit|Draft Edit]] or a dedicated edit solution is used. {{Version|0.21}}

If there is an active document the context menu contains an additional sub-menu:

* Utilities: a subset of the tools available in the main Draft Utilities menu.

=== Layer container options ===

For a [[Draft_Layer|Draft LayerContainer]] these additional options are available:

* [[Image:Draft_Layer.svg|32px]] [[Draft_Layer#Layer_container_options|Merge layer duplicates]]: merges all layers with the same base label.

* [[Image:Draft_NewLayer.svg|32px]] [[Draft_Layer#Layer_container_options|Add new layer]]: adds a new layer to the current document.

=== Layer options ===

For a [[Draft_Layer|Draft Layer]] these additional options are available:

* [[Image:button_right.svg|32px]] [[Draft_AutoGroup|Activate this layer]]: activates the selected layer.

* [[Image:Draft_SelectGroup.svg|32px]] [[Draft_SelectGroup|Select layer contents]]: selects the objects inside the selected layer.

=== Text options ===

For a [[Draft_Text|Draft Text]] and a [[Draft_Label|Draft Label]] that contains one or more hyperlinks, to a local or remote file or an URL, this additional option is available:

* Open hyperlinks: the hyperlinks are opened in the appropriate application (as defined by the OS). There is a warning in the case of multiple hyperlinks. {{Version|0.22}}

=== Wire options ===

For a [[Draft_Line|Draft Line]] and a [[Draft_Wire|Draft Wire]] this additional option is available:

* [[Image:Draft_Edit.svg|32px]] Flatten: flattens the wire on the current [[Draft_SelectPlane|Draft working plane]]. This option does not work properly in {{VersionMinus|0.19}}.

=== Working plane proxy options ===

For a [[Draft_WorkingPlaneProxy|Draft WorkingPlaneProxy]] these additional options are available:

* [[Image:Draft_SelectPlane.svg|32px]] [[Draft_WorkingPlaneProxy#Context_menu|Write camera position]]: updates the {{PropertyView|View Data}} property of the working plane proxy with the current [[3D_view|3D view]] camera settings.

* [[Image:Draft_SelectPlane.svg|32px]] [[Draft_WorkingPlaneProxy#Context_menu|Write objects state]]: updates the {{PropertyView|Visibility Map}} property of the working plane proxy with the current visibility state of objects in the document.

== 3D view context menu ==

The following additional options are available in the [[3D_view|3D view]] context menu:

=== Default options ===

If there is an active document the context menu contains one additional sub-menu:

* Utilities: a subset of the tools available in the main Draft Utilities menu.

=== Text options ===

See [[#Text_options|above]].

<span id="Obsolete_tools"></span>
=== Устаревшее ===


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
* [[Image:Draft_Array.svg|32px]] [[Draft_Array|Array]]: creates an orthogonal array from a selected object. The created array can be turned into a [[Draft_PolarArray|polar array]] or a [[Draft_CircularArray|circular array]] by changing its {{PropertyData|Array Type}} property. {{Obsolete|0.19}}
* [[Image:Std_DlgParameter.png|32px]] [[Draft_Preferences/ru|Предпочтения ...]]: Настройки доступны в Draft Workbench.
</div>
</div>

* [[Image:Draft_Drawing.svg|32px]] [[Draft_Drawing|Drawing]]: inserts views of selected objects into a [[Drawing_Workbench|drawing]] page. Not available in {{VersionPlus|0.21}}.

* [[Image:Draft_ToggleContinueMode.svg|32px]] [[Draft_ToggleContinueMode|Toggle continue mode]]: switches continue mode on or off. Not available in {{VersionPlus|0.22}}.

<span id="Preferences"></span>
== Настройки ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
* [[Image:Preferences-draft.svg|32px]] [[Draft_Preferences/ru|Preferences]]: общие настройки для рабочей плоскости и инструментов черчения.
=== Форматы файлов ===
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preferences/ru|Import-Export Preferences]]: настройки, доступные для импорта и экспорта в различные форматы файлов.
</div>
</div>

* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preferences|Import Export Preferences]]: preferences available for importing from and exporting to different file formats.

<span id="File_formats"></span>
== Форматы файлов ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Эти функции предназначены для открытия, импорта или экспорта других форматов файлов. Открытие подразумевает открытие нового документа с содержимым файла, в то время как импортирование добавляет содержимое файла в текущий документ. Экспорт сохраняет выделенные объекты в файл. Если ничего не выбрано, будут экспортированы все объекты. Учитывайте, что задача модуля Draft - работа с плоскими объектами, так что процедуры импорта фокусируются на двумерных объектах, хотя форматы DXF и OCA так же поддерживают определения объектов в трёхмерном пространстве (объекты не обязательно плоские), они не импортируют объекты вроде сеток, трйхмерных поверхностей и так далее, а только линии, окружности, тексты или плоские фигуры. Ныне поддерживаемые форматы файлов:
Верстак Draft позволяет FreeCAD импортировать и экспортировать следующие форматы файлов:
Верстак Draft позволяет FreeCAD импортировать и экспортировать следующие форматы файлов:
</div>
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
* [[Draft_DXF/ru|Autodesk .DXF]]: импорт и экспорт файлов [http://en.wikipedia.org/wiki/AutoCAD_DXF DXF (Drawing Exchange Format)], созданных в двумерных приложениях САПР
* [[Draft_DXF/ru|Autodesk .DXF]]: импорт и экспорт файлов [http://en.wikipedia.org/wiki/AutoCAD_DXF DXF (Drawing Exchange Format)], созданных в двумерных приложениях САПР. Смотри так же [[FreeCAD_and_DXF_Import|FreeCAD and DXF Import]].
* [[Draft_DXF/ru|Autodesk .DWG]]: импорт и экспорт файлов DWG через экспортёр DXF при установленной утилите [[Extra python modules/ru|ODA Converter]]. Смотри так же [[FreeCAD_and_DWG_Import/ru|FreeCAD and DWG Import]].
* [[Draft_SVG/ru|SVG (геометрия)]]: импорт и экспорт файлов [http://ru.wikipedia.org/wiki/Scalable_Vector_Graphics SVG (Scalable Vector Graphics)], созданных в приложениях векторной графики
* [[Draft_SVG/ru|SVG (геометрия)]]: импорт и экспорт файлов [http://ru.wikipedia.org/wiki/Scalable_Vector_Graphics SVG (Scalable Vector Graphics)], созданных в приложениях векторной графики
* [[Draft_OCA/ru|формат Open Cad .OCA]]: импорт и экспорт файлов OCA/GCAD, потенциально нового [http://groups.google.com/group/open_cad_format формата файлов открытых САПР]
* [[Draft_OCA/ru|формат Open Cad .OCA]]: импорт и экспорт файлов OCA/GCAD, потенциально нового [http://groups.google.com/group/open_cad_format формата файлов открытых САПР]
* [[Draft_DAT/ru|формат Airfoil Data .DAT]]: импорт файлов DAT, описывающих [http://www.ae.illinois.edu/m-selig/ads/coord_database.html профили Airfoil]
* [[Draft_DAT/ru|формат Airfoil Data .DAT]]: импорт файлов DAT, описывающих [http://www.ae.illinois.edu/m-selig/ads/coord_database.html профили Airfoil].
* [[Draft_DXF/ru|Autodesk .DWG]]: импорт и экспорт файлов DWG через экспортёр DXF при установленной утилите [[Extra python modules/ru|ODA Converter]]
* [[FreeCAD_and_DWG_Import/ru|FreeCAD and DWG Import]]: импорт и экспорт файлов DWG
* [[FreeCAD_and_DXF_Import/ru|FreeCAD and DXF Import]]: импорт и экспорт файлов DXF
</div>
</div>


<span id="Unit_tests"></span>
===Install importers===
== Модульные тесты ==

* [[FreeCAD_and_DWG_Import|FreeCAD and DWG Import]]: Imports and exports DWG files
* [[FreeCAD_and_DXF_Import|FreeCAD and DXF Import]]: Imports and exports DXF files


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Смотри так же: [[Testing/ru|Test Workbench]].
===Дополнительные возможности===
</div>
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Для запуска модульных тестов рабочей среды выполните следующие действия с терминала операционной системы.
* [[Draft_Snap/ru|Привязка]]: позволяет разместить новые точки на специальных частях существующих объектов
* [[Draft_Constrain/ru|Геометрические ограничения]]: позволяет разместить новые точки горизонтально или вертикально относительно предыдущих точек
* [[Draft_Coordinates/ru|Работа с координатами вручную]]: позволяет вводить координаты вручную, вместо указания их на экране
* [[Draft_SelectPlane/ru|Рабочая плоскость]]: позволяет задать плоскость в трёхмерном пространстве, где будут проводиться операции с плоскими фигурами
</div>
</div>


== Unit tests ==

{{Emphasis|See also:}} [[Test_Workbench|Test Workbench]].

To run the unit tests of the workbench execute the following from the operating system terminal.
{{Code|code=
{{Code|code=
freecad -t TestDraft
freecad -t TestDraft
}}
}}

<span id="Scripting"></span>
== Написание сценариев ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Инструменты модуля Draft могут использоваться в [[macros/ru|макросах]] и в консоли [[Python/ru|Python]], используя [[Draft API/ru|программный интерфейс Draft]].
===Сценарии===
</div>
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Рабочая среда включает модуль для создания образцов всех объектов в новом документе. {{Version|0.19}}
Модуль Draft предоставляет полный набор [[Draft API/ru|API]], что делает возможным использование его функций в сценариях и макросах.
</div>
</div>


<div class="mw-translate-fuzzy">
The workbench includes a module to create samples of all objects in a new document. {{Version|0.19}}
Используйте это, чтобы проверить, что все объекты произведены правильно.
</div>


Use this to test that all objects are produced correctly.
{{Code|code=
{{Code|code=
import drafttests.draft_test_objects as dto
import drafttests.draft_test_objects as dto
Line 173: Line 385:
}}
}}


<div class="mw-translate-fuzzy">
Inspecting the code of this module is useful to understand how to use the programming interface.
Проверка кода этого модуля полезна, чтобы понять, как использовать интерфейс программирования.
{{Code|code=
</div>
$INSTALLDIR/Mod/Draft/drafttests/draft_test_objects.py
}}


== Tutorials ==
Where {{incode|$INSTALLDIR}} is the toplevel directory where the software was installed; for example, in Linux it may be {{incode|/usr/share/freecad}}.


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Учебники==
===Руководства===
* [[Draft_tutorial/ru|Руководство по Draft]]
* [[Draft_tutorial/ru|Руководство по Draft]]
* [[Draft_tutorial_Outdated/ru|Устаревшее руководство по Draft]]
* [[Draft_ShapeString_tutorial/ru|Руководство по инструменту Draft преобразования текста в кривые]]
* [[Draft_ShapeString_tutorial/ru|Руководство по инструменту Draft преобразования текста в кривые]]
</div>
</div>



<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/ru
{{docnav|Image Module|Arch Module}}
|[[Arch Workbench/ru|Верстак Arch]]
{{Draft Tools navi}}
|[[Drawing Workbench/ru|Верстак Drawing]]
{{Userdocnavi}}
|IconL=Workbench_Arch.svg
|IconR=Workbench_Drawing.svg
}}
</div>
</div>



{{Draft Tools navi{{#translation:}}}}
{{Draft Tools navi{{#translation:}}}}

Latest revision as of 09:20, 28 January 2024

Логотип верстака Draft на котором изображен кульман

Введение

Верстак Draft Workbench позволяет начертить простые двумерные объекты и предлагает некоторые инструменты для их последующей модификации. Он так же предоставляет инструменты для указания рабочей плоскости, сетки и привязки для точного управления расположением геометрии.

Создаваемые плоские объекты могут использоваться для общего черчения как в программах Inkscape или Autocad. Эти плоские фигуры могут так же использоваться как базовые компоненты трёхмерных объектов, создаваемых другими верстаками, например, Part и Arch. Так же возможно преобразование объектов Draft в объекты Sketch, это значит, что фигуры могут так же использоваться в верстаке PartDesign для создания твёрдых тел.

The Draft Workbench also provides tools to define a working plane, a grid, and a snapping system to precisely control the position of geometry.

FreeCAD — это, прежде всего, приложение для 3D-моделирования, и поэтому его инструменты для двумерного рисования не столь совершенны, как в других чертёжных программах. Если вашей основной целью является создание сложных 2D-чертежей и файлов в формате DXF, и вам не нужно 3D-моделирование, возможно вы захотите использовать специальное программное обеспечения для технического черчения, такое как LibreCAD, QCad, TurboCad и другие.

The image shows the grid aligned with the XY plane.
On the left, in white, several planar objects.
On the right a non-planar Draft Wire used as the Path Object of a Draft PathArray.

Drafting

  • Line: creates a straight line.
  • Polyline: creates a polyline (also called wire), a sequence of several connected line segments.
  • Fillet: creates a fillet, a rounded corner, or a chamfer, a straight edge, between two Draft Lines.
  • Arc tools:
  • Arc: creates a circular arc from a center, a radius, a start angle and an aperture angle.
  • Arc by 3 points: creates a circular arc from three points that define its circumference.
  • Circle: creates a circle from a center and a radius.
  • Ellipse: creates an ellipse from two points defining a rectangle in which the ellipse will fit.
  • Rectangle: creates a rectangle from two points.
  • Polygon: creates a regular polygon from a center and a radius.
  • B-spline: creates a B-spline curve from several points.
  • Bézier tools:
  • Point: creates a simple point.
  • Facebinder: creates a surface object from selected faces.
  • ShapeString: creates a compound shape that represents a text string.

Annotation

  • Text: creates a multi-line text at a given point.
  • Dimension: creates a linear dimension, a radial dimension or an angular dimension.
  • Label: creates a multi-line text with a 2-segment leader line and an arrow.
  • Annotation styles...: allows you to define styles that affect the visual properties of annotation-like objects.

Modification

  • Move: moves or copies selected objects from one point to another.
  • Rotate: rotates or copies selected objects around a center point by a given angle.
  • Scale: scales or copies selected objects around a base point.
  • Mirror: creates mirrored copies from selected objects.
  • Offset: offsets each segment of a selected object over a given distance, or creates an offset copy of the selected object.
  • Trimex: trims or extends a selected object.
  • Stretch: stretches objects by moving selected points.
  • Clone: creates linked copies, clones, of selected objects.
  • Array tools:
  • Array: creates an orthogonal array from a selected object. It can optionally create a Link array.
  • Polar array: creates an array from a selected object by placing copies along a circumference. It can optionally create a Link array.
  • Circular array: creates an array from a selected object by placing copies along concentric circumferences. It can optionally create a Link array.
  • Path array: creates an array from a selected object by placing copies along a path.
  • Point array: creates an array from a selected object by placing copies at the points from a point compound.
  • Edit: puts selected objects in Draft Edit mode. In this mode the properties of objects can be edited graphically.
  • Subelement highlight: temporarily highlights selected objects, or the base objects of selected objects.
  • Upgrade: upgrades selected objects.

Draft Tray

Панель инструментов Draft появляется когда стартует верстак, и позволяет выбрать рабочую плоскость, вместе с некоторыми визуальными параметрами вроде цвета линии, цвета фигур, размера текста, ширина линии, и автоматической группы.

  • Select Plane: selects the current Draft working plane. Also available in the menu: Draft → Utilities → Select Plane.
  • Set style: sets the default style for new objects. Also available in the menu: Draft → Utilities → Set style.
  • Toggle construction mode: switches Draft construction mode on or off. Also available in the menu: Draft → Utilities → Toggle construction mode.

Draft annotation scale widget

With the Draft annotation scale widget the Draft annotation scale can be specified.

Draft snap widget

The Draft snap widget can be used as an alternative for the Draft snap toolbar.

Панель инструментов привязки Draft

Панель инструментов Draft Snap позволяет выбрать текущий режим привязки. Его кнопка остаётся ненажатой при активности режима.

  • Snap lock: enables or disables snapping globally.
  • Snap angle: snaps to the special cardinal points on circular edges, at multiples of 30° and 45°.
  • Snap extension: snaps to an imaginary line that extends beyond the endpoints of straight edges.
  • Snap parallel: snaps to an imaginary line parallel to straight edges.
  • Snap special: snaps to special points defined by the object.
  • Snap near: snaps to the nearest point on faces and edges.
  • Snap ortho: snaps to imaginary lines that cross the previous point at multiples of 45°.
  • Snap grid: snaps to the intersections of grid lines.

Сервисные инструменты

Меню Вспомогательные

Дополнительные инструменты доступны из меню Draft → Вспомогательные, или через контекстное меню по правому клику мыши, зависящее от выбранного объекта.

  • Heal: heals problematic Draft objects found in very old files.

Дополнительные возможности

  • Геометрические ограничения: ограничивает указатель в горизонтальном или вертикальном перемещении относительно предыдущей точки.
  • Привязка: позволяет разместить новые точки на специальных частях существующих объектов или на сетке.
  • Construction Mode: позволяет создавать отдельную от остальной геометрию, просто включая или выключая этот режим.
  • Рабочая плоскость: позволяет задать плоскость в трёхмерном пространстве, где будут проводиться операции с плоскими фигурами

Tree view context menu

The following additional options are available in the Tree view context menu:

Default options

For most Draft objects the following option is available:

If there is an active document the context menu contains an additional sub-menu:

  • Utilities: a subset of the tools available in the main Draft Utilities menu.

Layer container options

For a Draft LayerContainer these additional options are available:

Layer options

For a Draft Layer these additional options are available:

Text options

For a Draft Text and a Draft Label that contains one or more hyperlinks, to a local or remote file or an URL, this additional option is available:

  • Open hyperlinks: the hyperlinks are opened in the appropriate application (as defined by the OS). There is a warning in the case of multiple hyperlinks. introduced in version 0.22

Wire options

For a Draft Line and a Draft Wire this additional option is available:

  • Flatten: flattens the wire on the current Draft working plane. This option does not work properly in version 0.19 and below.

Working plane proxy options

For a Draft WorkingPlaneProxy these additional options are available:

  • Write objects state: updates the ВидVisibility Map property of the working plane proxy with the current visibility state of objects in the document.

3D view context menu

The following additional options are available in the 3D view context menu:

Default options

If there is an active document the context menu contains one additional sub-menu:

  • Utilities: a subset of the tools available in the main Draft Utilities menu.

Text options

See above.

Устаревшее

  • Drawing: inserts views of selected objects into a drawing page. Not available in version 0.21 and above.

Настройки

  • Preferences: общие настройки для рабочей плоскости и инструментов черчения.
  • Import-Export Preferences: настройки, доступные для импорта и экспорта в различные форматы файлов.

Форматы файлов

Эти функции предназначены для открытия, импорта или экспорта других форматов файлов. Открытие подразумевает открытие нового документа с содержимым файла, в то время как импортирование добавляет содержимое файла в текущий документ. Экспорт сохраняет выделенные объекты в файл. Если ничего не выбрано, будут экспортированы все объекты. Учитывайте, что задача модуля Draft - работа с плоскими объектами, так что процедуры импорта фокусируются на двумерных объектах, хотя форматы DXF и OCA так же поддерживают определения объектов в трёхмерном пространстве (объекты не обязательно плоские), они не импортируют объекты вроде сеток, трйхмерных поверхностей и так далее, а только линии, окружности, тексты или плоские фигуры. Ныне поддерживаемые форматы файлов: Верстак Draft позволяет FreeCAD импортировать и экспортировать следующие форматы файлов:

Модульные тесты

Смотри так же: Test Workbench.

Для запуска модульных тестов рабочей среды выполните следующие действия с терминала операционной системы.

freecad -t TestDraft

Написание сценариев

Инструменты модуля Draft могут использоваться в макросах и в консоли Python, используя программный интерфейс Draft.

Рабочая среда включает модуль для создания образцов всех объектов в новом документе. introduced in version 0.19

Используйте это, чтобы проверить, что все объекты произведены правильно.

import drafttests.draft_test_objects as dto
doc = dto.create_test_file()

Проверка кода этого модуля полезна, чтобы понять, как использовать интерфейс программирования.

Tutorials