Draft Drawing/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "==Použití==")
(Updating to match new version of source page)
 
(35 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Draft_Drawing|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Drafting -> Drawing}}


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


{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br>
Tento nástrpj umožňuje umístit vybrané objekty na svg [[Drawing Module|Výkresy]]. Jestliže v dokumentu není žádná [[Drawing_templates|šablona]], bude vytvořena defaultní.
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">
[[Image:Draft drawing example.jpg|640px]]
{{GuiCommand/cs|Name=Draft_Drawing|Name/cs=Draft Drawing|Workbenches=[[Drawing_Workbench/cs|Kreslení]], [[Arch_Workbench/cs|Architektura]]|MenuLocation=Drafting Drawing}}
</div>


<span id="Description"></span>
==Použití==
==Popis==


<div class="mw-translate-fuzzy">
# Select the objects you wish to put on a drawing sheet
Tento nástroj umožňuje umístit vybrané objekty na svg [[Drawing Workbench/cs|Výkresy]]. Jestliže v dokumentu není žádná [[Drawing_templates/cs|šablona]], bude použita defaultní.
# Press the {{KEY|[[Image:Draft Drawing.png|16px]] [[Draft Drawing]]}} button
</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.
==Options==


This command is now obsolete. Use the [[TechDraw_Workbench|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.
* 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.
* 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.
* 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.


[[Image:Draft drawing example.jpg|640px]]
==Properties==
{{Caption|On the left the selected Draft objects. On the right the created drawing views.}}


<span id="Usage"></span>
* {{PropertyData|Fill Style}}: For closed shapes, allows to specify one of the Default Draft fill styles, or use the shape color.
<div class="mw-translate-fuzzy">
* {{PropertyData|Font Size}}: Allows you to specify the font size of texts and dimensions.
==Použití==
* {{PropertyData|Line Width}}: Allows you to specify the line width of viewed objects.
</div>


<div class="mw-translate-fuzzy">
==Scripting==
# Vyberte objekty, které chcete umístit na výkres
# Stiskněte tlačítko {{KEY|[[Image:Draft Drawing.png|16px]] [[Draft Drawing/cs|Výkres]]}}
</div>


The Draft Drawing tool can by used in [[macros]] and from the python console by using the following function:


{{Docnav
<syntaxhighlight>
|
makeDrawingView (object,page)
|
</syntaxhighlight>
|[[Draft_Workbench|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}


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

Example:

<syntaxhighlight>
import FreeCAD,Draft
obj = FreeCAD.ActiveDocument.ActiveObject
page = FreeCAD.ActiveDocument.Page
Draft.makeDrawingView(obj,page)
</syntaxhighlight>

<languages/>

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

Umístění Menu
Drafting → Drawing
Pracovní stoly
Kreslení, Architektura
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Nikdo

Popis

Tento nástroj umožňuje umístit vybrané objekty na svg Výkresy. Jestliže v dokumentu není žádná šablona, bude použita defaultní.

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.

Použití

  1. Vyberte objekty, které chcete umístit na výkres
  2. Stiskněte tlačítko Výkres