Draft Drawing/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|
|[[Draft_Clone|Clone]]
|
|[[Draft_Mirror|Mirror]]
|[[Draft_Module|Draft]]
|[[Draft_Module|Draft]]
|IconL=Draft_Clone.svg
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_Mirror.svg
}}
}}


{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br>

{{VeryImportantMessage|Development of the [[Drawing Workbench|Drawing Workbench]] stopped in FreeCAD 0.16; the new [[TechDraw Workbench|TechDraw Workbench]] aiming to replace it was introduced in v0.17. Both workbenches are still provided in v0.17, but the Drawing Workbench may be removed in future releases.}}
It works with the [[Drawing_Module|Drawing Workbench]] which was deprecated in FreeCAD version 0.17 when the [[TechDraw_Module|TechDraw Workbench]] was introduced. Use that workbench and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 22: Line 23:
</div>
</div>


This tool works similarly to the [[Drawing View|Drawing View]] tool but is optimized for [[Draft Workbench|Draft Workbench]] objects, and can render 2D objects with a face filling. It can handle specific objects such as [[Draft Dimension|Draft Dimension]] and [[Draft Text|Draft Text]], that the [[Drawing View|Drawing View]] tool cannot handle.
This command is similar to the [[Drawing_View|Drawing View]] command but is optimized for [[Draft_Module|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.

This command is now obsolete. Use the [[TechDraw_Module|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.


[[Image:Draft drawing example.jpg|640px]]
[[Image:Draft drawing example.jpg|640px]]
{{Caption|Draft object and dimensions imported into a Drawing page}}
{{Caption|On the left the selected Draft objects. On the right the created drawing views.}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 36: Line 39:
</div>
</div>


==Notes==
* The tool will work best with 2D objects from the [[Draft Workbench|Draft Workbench]] or [[Sketcher Workbench|Sketcher Workbench]].
* The selected object can also be an [[Arch SectionPlane|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.

== Opţiuni ==

<div class="mw-translate-fuzzy">
* Selectați obiectele pe care doriți să le puneți pe foaia de desen. Instrumentul va funcționa cel mai bine cu obiecte plane 2D din modulele [[Draft Module | Draft]] sau [[Sketcher Workbench | Sketcher]].
* Dacă obiectul selectat este [[Arch SectionPlane]], acest instrument va crea o vizualizare suplimentară a planului secțiunii respective.
* În aceeași selecție, adăugați obiectul de pagină la care doriți să desenați obiectele. Dacă nu există o pagină existentă, va fi creată o pagină nouă. Dacă nu ați selectat o pagină, dar există cel puțin una în document, va fi utilizată prima pentru a desena.
* Dacă ați selectat o foaie existentă și obiectele din selecția care sunt deja pe această foaie (de exemplu, pentru un obiect "Rectangle" există deja un obiect "ViewRectangle" pe foaie), acestea vor fi înlocuite. Acest lucru vă permite să selectați pur și simplu toate obiectele și să le trimiteți la o pagină existentă, care va fi pur și simplu actualizată.
</div>

==Proprietăți==

<div class="mw-translate-fuzzy">
* {{PropertyData | Fill Style}}: Pentru forme închise, permite specificarea unuia dintre stilurile de umplere implicite ale Proiectului sau utilizarea culorii formei.
* {{PropertyData | Dimensiune font}}: Vă permite să specificați dimensiunea fontului textelor și dimensiunilor.
* {{PropertyData | Line Width}}: Vă permite să specificați lățimea liniei obiectelor vizualizate.
</div>

<div class="mw-translate-fuzzy">
== Scrip-Programare ==
</div>

<div class="mw-translate-fuzzy">
Instrumentul Draft Drawing poate fi utilizat în [[macros/ro|macros]] și de la consola Python folosind următoarele funcții:
</div>

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

<div class="mw-translate-fuzzy">
* Adaugă o vizualizare a obiectului dat la pagina dată.
* Returnează obiectul de vizualizare creat.
</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.

Exempluː

{{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()

View.X = 200
View.Y = 150
FreeCAD.ActiveDocument.recompute()
}}


{{Docnav
{{Docnav
|
|[[Draft_Clone|Clone]]
|
|[[Draft_Mirror|Mirror]]
|[[Draft_Module|Draft]]
|[[Draft_Module|Draft]]
|IconL=Draft_Clone.svg
|IconL=
|IconR=
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_Mirror.svg
}}
}}


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

Revision as of 07:15, 11 August 2021

THIS COMMAND IS OBSOLETE
It works with the Drawing Workbench which was deprecated in FreeCAD version 0.17 when the TechDraw Workbench was introduced. Use that workbench and the TechDraw DraftView command instead.

Draft Drawing

poziția meniului
Drafting → Drawing
Ateliere
Draft, Arch
scurtătură
nici unul
Prezentat în versiune
-
A se vedea, de asemenea,
nici unul

Descriere

Acest instrument vă permite să plasați obiecte selectate pe o foaie de desne, respectiv un svg Drawing sheet. Dacă în document nu există nici o foaie sheet, aceasta va fi creată implicit. Acest instrument funcționează similar cu instrumentul Drawing View, dar este optimizat pentru obiectele Draft și poate face obiecte plane 2D cu o umplere a fațetei. De asemenea, se poate ocupa de câteva obiecte proprii atelierului Draft, cum ar fi dimensions și texts, pe care Drawing View nu le poate gestiona.

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.

Cum se folosește

  1. Selectați obiectele pe care doriți să le puneți pe o foaie de desen
  2. Apasă pe Draft Drawing button