Draft Drawing/cs: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div class="mw-translate-fuzzy">
{{GuiCommand/cs|Name=Draft_Drawing|Name/cs=Draft Drawing|Workbenches=[[Draft Module/cs|Kreslení]], [[Arch Module/cs|Architektura]]|MenuLocation=Drafting → Drawing}}
</div>


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


{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br>
<div class="mw-translate-fuzzy">
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.}}
Tento nástroj umožňuje umístit vybrané objekty na svg [[Drawing Module/cs|Výkresy]]. Jestliže v dokumentu není žádná [[Drawing_templates/cs|šablona]], bude použita defaultní.
</div>

This tool works similarly to the [[Drawing View]] tool but is optimized for [[Draft Workbench]] objects, and can render 2D objects with a face filling. It can handle specific objects such as [[Draft Dimension]] and [[Draft Text]], that the [[Drawing View]] tool cannot handle.

[[Image:Draft drawing example.jpg|640px]]
{{Caption|Draft object and dimensions imported into a Drawing page}}

==Použití==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{GuiCommand/cs|Name=Draft_Drawing|Name/cs=Draft Drawing|Workbenches=[[Drawing_Workbench/cs|Kreslení]], [[Arch_Workbench/cs|Architektura]]|MenuLocation=Drafting → Drawing}}
# 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>
</div>


<span id="Description"></span>
Notes:
==Popis==
* The tool will work best with 2D objects from the [[Draft Workbench]] or [[Sketcher Workbench]].
* The selected object can also be an [[Arch SectionPlane]], which will show the elements viewed by that plane.
* If there is no existing page, a new one will be created.
* If no page was selected but there is at least one in the document, the first page found will be used to put the projections.
* If you select a sheet and the objects already projected on that sheet, the projections will be updated.

==Volby==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
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í.
* Vyberete objekt, který chcete umístit na výkres. Nástroj bude nejlépe pracovat s plochými 2D objekty z modulů [[Draft Module/cs|Kreslení]] nebo [[Sketcher Workbench/cs|Skicář]].
* Je-li vybraný objekt [[Arch SectionPlane/cs|Architektura Rovina řezu]], vytvoří tento nástroj další pohled této roviny řezu.
* Ve stejném výběru přidejte objekt stránky, na který chcete vybraný objekt vykreslit. Jestliže stránka neexistuje, bude nově vytvořena. Jestliže jste stránku nevybrali, ale alespoň jedna už v dokumentu je, bude první nalezená použita pro vykreslení.
* Jestliže jste vybrali existující stránku a objekty, které už ve stránce jsou (např. objekt "Obdélník" již zde je jako objekt "PohledObdélník"), budou nahrazeny. To Vám umožňuje jednoduše vybrat všechny objekty a poslat je na existující stránku, čímž budou na stránce aktualizovány i již dříve vložené objekty.
</div>
</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.
==Vlastnosti==


This command is now obsolete. Use the [[TechDraw_Workbench|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.
<div class="mw-translate-fuzzy">
* {{PropertyData|Fill Style}}: Pro uzavřené tvary umožňuje specifikovat jeden z defaultních stylů pro zaplňování výkresů nebo použití barev tvaru.
* {{PropertyData|Font Size}}: Umožňuje specifikovat velikost fontu pro texty a kóty.
* {{PropertyData|Line Width}}: Umožňuje specifikovat tloušťku čar zobrazených objektů.
</div>


[[Image:Draft drawing example.jpg|640px]]
<div class="mw-translate-fuzzy">
{{Caption|On the left the selected Draft objects. On the right the created drawing views.}}
==Skriptování==
</div>


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
==Použití==
Nástroj Výkres může být použit v [[macros/cs|makrech]] a z konzoly Pythonu použitím následující funkce:
</div>
</div>

{{Code|code=
DrawingView = makeDrawingView(obj, page, lwmod=None, tmod=None, otherProjection=None)
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
# Vyberte objekty, které chcete umístit na výkres
* Přidá pohled daného objektu na danou stránku.
# Stiskněte tlačítko {{KEY|[[Image:Draft Drawing.png|16px]] [[Draft Drawing/cs|Výkres]]}}
* Vrací vytvořený objekt pohledu.
</div>
</div>


The attributes of the view usually need to be modified so that it is displayed correctly in the drawing page. In particular, the position is controlled by {{incode|X}} and {{incode|Y}}, which are given in millimeters, and {{incode|Scale}} is important to correctly fit the projected shape in the page. The scale usually ranges from 1 to 0.25 (1:1 to 1:4) for small solids, and from 0.02 to 0.01 (1:50 to 1:100) for typical architectural elements.

Příklad:
{{Code|code=
import FreeCAD, Draft, Drawing

obj = Draft.makePolygon(5, 1000)
page = FreeCAD.ActiveDocument.addObject('Drawing::FeaturePage', 'Page')
page.Template = FreeCAD.getResourceDir() + 'Mod/Drawing/Templates/A3_Landscape.svg'

View = Draft.makeDrawingView(obj, page)
View.Scale = 0.02
FreeCAD.ActiveDocument.recompute()


{{Docnav
View.X = 200
|
View.Y = 150
|
FreeCAD.ActiveDocument.recompute()
|[[Draft_Workbench|Draft]]
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
}}
}}


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

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