Draft Drawing/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Описание==")
(Updating to match new version of source page)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|
|
|[[Draft_Workbench|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}

{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br>
Both the command and the [[Drawing_Workbench|Drawing Workbench]] it works with are not available in {{VersionPlus|0.21}}. Use the [[TechDraw_Workbench|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.}}

<div class="mw-translate-fuzzy">
{{GuiCommand/ru
{{GuiCommand/ru
|Name=Draft Drawing
|Name=Draft Drawing
|Name/ru=Draft Drawing
|Name/ru=Draft Drawing
|MenuLocation=Черчение -> Рисунок
|Workbenches=[[Draft Module/ru|Draft]], [[Arch Module/ru|Arch]]
|Workbenches=[[Draft_Workbench/ru|Draft]], [[Arch_Workbench/ru|Arch]]
|MenuLocation=Черчение -> Рисунок}}
|SeeAlso=[[TechDraw_DraftView|TechDraw DraftView]]
}}
</div>


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


<div class="mw-translate-fuzzy">
This tool allows you to put selected objects on a svg [[Drawing Module|Drawing sheet]]. If no [[Drawing_templates|sheet]] exists in the document, a default one will be created. This tool works similarly to the [[Drawing View]] tool, but is optimized for [[Draft Workbench|Draft]] objects, and can render flat 2D objects with a face filling. It can also handle a couple of specific Draft objects, such as [[Draft Dimension|dimensions]] and [[Draft Text|texts]], that the [[Drawing View]] tool cannot handle.
Этот инструмент позволяет помещать выбранные объекты в svg [[Drawing_Workbench|Drawing sheet]]. Если в документе нет [[Drawing_templates|sheet]], будет создан по умолчанию. Этот инструмент работает аналогично инструменту [[Drawing View]], но оптимизирован для объектов [[Draft Workbench | Draft]] и может отображать плоские 2D-объекты с заполнением лица. Он также может обрабатывать несколько конкретных объектов проекта, таких как [[Draft Dimension|dimensions]] и [[Draft Text|texts]], которые невозможно обработать инструментом [[Drawing View]].
</div>


This command is similar to the [[Drawing_View|Drawing View]] command but is optimized for [[Draft_Workbench|Draft]] objects. Contrary to that command, it can handle specific objects such as [[Draft_Dimension|Draft Dimensions]] and [[Draft_Text|Draft Texts]], and it can render faces.
[[Image:Draft drawing example.jpg|640px]]


This command is now obsolete. Use the [[TechDraw_Workbench|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.
==How to use==


[[Image:Draft drawing example.jpg|640px]]
# Select the objects you wish to put on a drawing sheet
{{Caption|On the left the selected Draft objects. On the right the created drawing views.}}
# Press the {{KEY|[[Image:Draft Drawing.png|16px]] [[Draft Drawing]]}} button


<span id="Usage"></span>
==Options==
<div class="mw-translate-fuzzy">
==Использование==
</div>


# To use this command in FreeCAD version 0.19 and later you need to add a button to a custom toolbar. See [[Interface_Customization|Interface Customization]].
* Select objects you want to put on the drawing sheet. The tool will work best with flat 2D objects from the [[Draft Module|Draft]] or [[Sketcher Workbench|Sketcher]] modules.
# Select one or more objects. A separate view will be created for each object.
* If the selected object is an [[Arch SectionPlane]], this tool will create an additional view of that section plane.
* In the same selection, add the page object you want to draw your objects to. If there is no existing page, a new one will be created. If you didn't select a page but there is at least one in the document, the first found one will be used to draw to.
# Optionally add a [[Drawing_Workbench|Drawing]] page to the selection. If you do not, the view is inserted into the first page in the document. If there are no pages in the document a new page is created first.
# Press the {{Button|[[Image:Draft_Drawing.svg|16px]] [[Draft_Drawing|Draft Drawing]]}} button.
* If you selected an existing sheet, and the objects in the selection that are already on that sheet (for ex. for a "Rectangle" object there is already a "ViewRectangle" object on the sheet), they will be substitued. This allows you to simply select all the objects and send them to an existing page, which will simply be updated.
# There is a bug in the FreeCAD version 0.19 version of the command. The initial value of the {{PropertyData|Direction}} property is {{Value|[0, 0, 0]}} which is not allowed. For objects on a plane parallel to the XY plane of the global coordinate system it should be changed to {{Value|[0, 0, 1]}}. After changing this property the page and the view may need to be [[Std_Refresh|recomputed]].


==Properties==


{{Docnav
* {{PropertyData|Fill Style}}: For closed shapes, allows to specify one of the Default Draft fill styles, or use the shape color.
|
* {{PropertyData|Font Size}}: Allows you to specify the font size of texts and dimensions.
|
* {{PropertyData|Line Width}}: Allows you to specify the line width of viewed objects.
|[[Draft_Workbench|Draft]]

|IconL=
==Scripting==
|IconR=

|IconC=Workbench_Draft.svg
The Draft Drawing tool can by used in [[macros]] and from the python console by using the following function:

{{Code|code=
Draft.makeDrawingView (object,page)
}}
}}


{{Draft Tools navi{{#translation:}}}}
* Adds a view of the given object to the given page.
{{Userdocnavi{{#translation:}}}}
* Returns the created view object.

Example:

{{Code|code=
import FreeCAD,Draft
obj = FreeCAD.ActiveDocument.ActiveObject
page = FreeCAD.ActiveDocument.Page
Draft.makeDrawingView(obj,page)
}}

Latest revision as of 08:35, 20 May 2023

THIS COMMAND IS OBSOLETE
Both the command and the Drawing Workbench it works with are not available in version 0.21 and above. Use the TechDraw Workbench and the TechDraw DraftView command instead.

Draft Drawing

Системное название
Draft Drawing
Расположение в меню
Черчение -> Рисунок
Верстаки
Draft, Arch
Быстрые клавиши
Нет
Представлено в версии
-
См. также
TechDraw DraftView

Описание

Этот инструмент позволяет помещать выбранные объекты в svg Drawing sheet. Если в документе нет sheet, будет создан по умолчанию. Этот инструмент работает аналогично инструменту Drawing View, но оптимизирован для объектов Draft и может отображать плоские 2D-объекты с заполнением лица. Он также может обрабатывать несколько конкретных объектов проекта, таких как dimensions и texts, которые невозможно обработать инструментом Drawing View.

This command is similar to the Drawing View command but is optimized for Draft objects. Contrary to that command, it can handle specific objects such as Draft Dimensions and Draft Texts, and it can render faces.

This command is now obsolete. Use the TechDraw Workbench and the TechDraw DraftView command instead.

On the left the selected Draft objects. On the right the created drawing views.

Использование

  1. To use this command in FreeCAD version 0.19 and later you need to add a button to a custom toolbar. See Interface Customization.
  2. Select one or more objects. A separate view will be created for each object.
  3. Optionally add a Drawing page to the selection. If you do not, the view is inserted into the first page in the document. If there are no pages in the document a new page is created first.
  4. Press the Draft Drawing button.
  5. There is a bug in the FreeCAD version 0.19 version of the command. The initial value of the ДанныеDirection property is [0, 0, 0] which is not allowed. For objects on a plane parallel to the XY plane of the global coordinate system it should be changed to [0, 0, 1]. After changing this property the page and the view may need to be recomputed.