Draft Ellipse/ro: Difference between revisions

From FreeCAD Documentation
(Created page with " Elipsă 2 d")
 
(Updating to match new version of source page)
 
(39 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{GuiCommand|Name=Draft Ellipse|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft → Ellipse|Shortcut=E L|SeeAlso=[[Draft Circle|Draft Circle]]}}


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

<div class="mw-translate-fuzzy">
{{GuiCommand/ro
|Name=Draft Ellipse
|Name/ro=Elipsă 2D
|MenuLocation=Draft → Ellipse
|Workbenches=[[Draft_Workbench/ro|Draft]], [[Arch_Workbench/ro|Arch]]
|Shortcut={{KEY|E}} {{KEY|L}}
|SeeAlso=[[Draft Circle/ro|Draft Circle]]
}}
</div>

<span id="Description"></span>
==Descriere==

<div class="mw-translate-fuzzy">
Instrumentul Ellipse creează o eliptsă în planul curent [[Draft SelectPlane/ro|work plane]] introducând două puncte, definind colțul unei casete rectangulare în care se va potrivi elipsa. Este nevoie de [[Draft Linestyle/ro|linewidth and color]] setată anterior pe fila Activități.
</div>


A Draft Ellipse can be turned into an elliptical arc by setting its {{PropertyData|First Angle}} and {{PropertyData|Last Angle}} properties to different values.
The Ellipse tool creates an ellipse in the current [[Draft SelectPlane|work plane]] by entering two points, defining the corner of a rectangular box in which the ellipse will fit. It takes the [[Draft Linestyle|linewidth and color]] previously set on the Tasks tab.


[[Image:Draft_ellipse_example.jpg|400px]]
[[Image:Draft_ellipse_example.jpg|400px]]
<div class="mw-translate-fuzzy">
[[Image:Draft_ellipse_example.jpg|400px]]
</div>


==How to use==
==Usage==
# Press the {{KEY|[[Image:Draft Ellipse.png|16px]] [[Draft Ellipse]]}} button, or press {{KEY|E}} then {{KEY|L}} keys
# Click a first point on the 3D view, or type a [[Draft_Coordinates|coordinate]]
# Click a second point on the 3D view, or type a [[Draft_Coordinates|coordinate]]


See also: [[Draft_Tray|Draft Tray]], [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]].
==Options==


<div class="mw-translate-fuzzy">
* To enter coordinates manually, simply enter the numbers, then press {{KEY|ENTER}} between each X, Y and Z component.
== Cum se utilizează ==
* Press {{KEY|T}} or click the checkbox to check/uncheck the {{KEY|'''Continue'''}} button. If continue mode is on, the Ellipse tool will restart after you give the second point, allowing you to draw another ellipse without pressing the Ellipse button again.
# Apăsați butonul {{KEY|[[Image:Draft Ellipse.png|16px]] [[Draft Ellipse/ro|Draft Ellipse]]}} sau apăsați {{KEY|E}} apoi tastele {{KEY|L}}
* Press {{KEY|CTRL}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance.
# Faceți clic pe un prim punct din vizualizarea 3D sau tastați un coordinate
* Press {{KEY|SHIFT}} while drawing to [[Draft_Constrain|constrain]] your second point horizontally or vertically in relation to the first one.
# Faceți clic pe un al doilea punct din vizualizarea 3D sau tastați un coordinate
* Press {{KEY|I}} or the {{KEY|'''Filled'''}} button to have the ellipse filled with a face after it has been closed
</div>
* Press {{KEY|ESC}} or the {{KEY|'''Cancel'''}} button to abort the command.
* Ellipses, when in "Flat Lines" display mode, can display a hatch pattern, by setting their "Pattern" property below.


<span id="Options"></span>
==Properties==
== Opţiuni ==


The single character keyboard shortcuts available in the task panel can be changed. See [[Draft_Preferences|Draft Preferences]]. The shortcuts mentioned here are the default shortcuts (for version 0.22).
* {{PropertyData|Major Radius}}: The major radius of the ellipse
* {{PropertyData|Minor Radius}}: The minor radius of the ellipse
* {{PropertyData|Make Face}}: Fills the ellipse with a face
* {{PropertyView|Pattern}}: Specifies a hatch pattern to fill the ellipse with
* {{PropertyView|Pattern Size}}: Specifies the size of the hatch pattern


<div class="mw-translate-fuzzy">
See also [[Draft Pattern|Draft Pattern]] page.
* Pentru a introduce manual coordonatele, pur și simplu introduceți numerele, apoi apăsați {{KEY|ENTER}} between each X, Y and Z component.
* Apăsați {{KEY|T}}sau click pe caseta de validare pentru a bifa/debifa butonul {{KEY|'''Continue'''}} . Dacă modul Continuu este activat, instrumentul Ellipse se va reporni după ce dați cel de-al doilea punct, permițându-vă să desenați o altă elipsă fără să apăsați din nou butonul Ellipse.
* Apăsați {{KEY|CTRL}} în timp ce desenați pentru a forța punctul [[Draft_Snap/ro|snapping]] punctul dvs. către cea mai apropiată locație, independent de distanță.
* Apăsați {{KEY|SHIFT}} în timp ce atrageți la [[Draft_Constrain/ro|constrain]] al doilea punct pe orizontală sau pe verticală în raport cu primul.
* Apăsați {{KEY|I}} apoi butonul {{KEY|'''Filled'''}} pentru a avea elipsa umplută cu o fațetă după ce a fost închisă
* Apăsați {{KEY|ESC}} sau butonul {{KEY|'''Cancel'''}} pentru a abandona comanda.
* Ellipses, atunci când în modul de afișare "Flat Lines", poate afișa un model de hașură, prin setarea proprietății "Pattern" de mai jos.
</div>

==Notes==

* A Draft Ellipse can be edited with the [[Draft_Edit|Draft Edit]] command.

==Preferences==

See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].

* If the {{MenuCommand|Edit → Preferences... → Draft → General → Create Part primitives if possible}} option is checked, the command will create a [[Part_Ellipse|Part Ellipse]] instead of a Draft Ellipse.

<span id="Properties"></span>
==Proprietăți==

See also: [[Property_editor|Property editor]].

A Draft Ellipse object is derived from a [[Part_Part2DObject|Part Part2DObject]] and inherits all its properties. It also has the following additional properties:

===Data===

{{TitleProperty|Draft}}

<div class="mw-translate-fuzzy">
* {{PropertyData/ro|Major Radius}}: Semiaxa majoră a eleipseiaza majoră a elipsei
* {{PropertyData/ro|Minor Radius}}: Semiaxa minoră a elipsei
* {{PropertyData/ro|Make Face}}: Umple elipsa cu o fațetă
* {{PropertyView/ro|Pattern}}: Specificați modelul de hașură pentru a umple elipsa cu el
* {{PropertyView/ro|Pattern Size}}: specificați modelul și mărimea hașurii
</div>

===View===

{{TitleProperty|Draft}}

<div class="mw-translate-fuzzy">
See also [[Draft Pattern/ro|Draft Pattern]] page.
</div>


==Scripting==
==Scripting==

The Ellipse tool can by used in [[macros]] and from the python console by using the following function:
<div class="mw-translate-fuzzy">
== Script-Programare ==
Instrumentul Ellipse poate fi folosit în [[macros/ro|macros]] și din consola python utilizând următoarea funcție:
</div>

To create a Draft Ellipse use the {{incode|make_ellipse}} method ({{Version|0.19}}) of the Draft module. This method replaces the deprecated {{incode|makeEllipse}} method.

{{Code|code=
{{Code|code=
ellipse = make_ellipse(majradius, minradius, placement=None, face=True, support=None)
makeEllipse (majorradius, minorradius, [placement], [facemode])
}}
}}
* Creates an ellipse object with given major and minor radius.
* If a placement is given, it is used.
* If facemode is False, the ellipse is shown as a wireframe, otherwise as a face.
* Returns the newly created object.


<div class="mw-translate-fuzzy">
Example:
* Creează un obiect elipsă cu o semiaxă/rază majoră și semiaxă/minoră dată.
* Dacă este dată o destinație de plasare, aceasta este utilizată.
* Dacă facemode este False, elipsa este arătată ca un cadru de sârmă, altfel ca o fațetă.
* Returnează obiectul nou creat.
</div>

Exempluː

{{Code|code=
{{Code|code=
import FreeCAD as App
import Draft
import Draft
myEllipse = Draft.makeEllipse(4,2)


doc = App.newDocument()

ellipse1 = Draft.make_ellipse(3000, 200)
ellipse2 = Draft.make_ellipse(700, 1000)

zaxis = App.Vector(0, 0, 1)
p3 = App.Vector(1000, 1000, 0)
place3 = App.Placement(p3, App.Rotation(zaxis, 90))

ellipse3 = Draft.make_ellipse(700, 1000, placement=place3)

doc.recompute()
}}
}}

{{clear}}

{{Docnav
|[[Draft_Circle|Circle]]
|[[Draft_Rectangle|Rectangle]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_Circle.svg
|IconR=Draft_Rectangle.svg
|IconC=Workbench_Draft.svg
}}

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

Latest revision as of 05:00, 9 January 2024

Elipsă 2D

poziția meniului
Draft → Ellipse
Ateliere
Draft, Arch
scurtătură
E L
Prezentat în versiune
-
A se vedea, de asemenea,
Draft Circle

Descriere

Instrumentul Ellipse creează o eliptsă în planul curent work plane introducând două puncte, definind colțul unei casete rectangulare în care se va potrivi elipsa. Este nevoie de linewidth and color setată anterior pe fila Activități.

A Draft Ellipse can be turned into an elliptical arc by setting its DateFirst Angle and DateLast Angle properties to different values.

Usage

See also: Draft Tray, Draft Snap and Draft Constrain.

Cum se utilizează

  1. Apăsați butonul Draft Ellipse sau apăsați E apoi tastele L
  2. Faceți clic pe un prim punct din vizualizarea 3D sau tastați un coordinate
  3. Faceți clic pe un al doilea punct din vizualizarea 3D sau tastați un coordinate

Opţiuni

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 0.22).

  • Pentru a introduce manual coordonatele, pur și simplu introduceți numerele, apoi apăsați ENTER between each X, Y and Z component.
  • Apăsați Tsau click pe caseta de validare pentru a bifa/debifa butonul Continue . Dacă modul Continuu este activat, instrumentul Ellipse se va reporni după ce dați cel de-al doilea punct, permițându-vă să desenați o altă elipsă fără să apăsați din nou butonul Ellipse.
  • Apăsați CTRL în timp ce desenați pentru a forța punctul snapping punctul dvs. către cea mai apropiată locație, independent de distanță.
  • Apăsați SHIFT în timp ce atrageți la constrain al doilea punct pe orizontală sau pe verticală în raport cu primul.
  • Apăsați I apoi butonul Filled pentru a avea elipsa umplută cu o fațetă după ce a fost închisă
  • Apăsați ESC sau butonul Cancel pentru a abandona comanda.
  • Ellipses, atunci când în modul de afișare "Flat Lines", poate afișa un model de hașură, prin setarea proprietății "Pattern" de mai jos.

Notes

  • A Draft Ellipse can be edited with the Draft Edit command.

Preferences

See also: Preferences Editor and Draft Preferences.

  • If the Edit → Preferences... → Draft → General → Create Part primitives if possible option is checked, the command will create a Part Ellipse instead of a Draft Ellipse.

Proprietăți

See also: Property editor.

A Draft Ellipse object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:

Data

Draft

  • DATEMajor Radius: Semiaxa majoră a eleipseiaza majoră a elipsei
  • DATEMinor Radius: Semiaxa minoră a elipsei
  • DATEMake Face: Umple elipsa cu o fațetă
  • VEDEREPattern: Specificați modelul de hașură pentru a umple elipsa cu el
  • VEDEREPattern Size: specificați modelul și mărimea hașurii

View

Draft

See also Draft Pattern page.

Scripting

Script-Programare

Instrumentul Ellipse poate fi folosit în macros și din consola python utilizând următoarea funcție:

To create a Draft Ellipse use the make_ellipse method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeEllipse method.

ellipse = make_ellipse(majradius, minradius, placement=None, face=True, support=None)
  • Creează un obiect elipsă cu o semiaxă/rază majoră și semiaxă/minoră dată.
  • Dacă este dată o destinație de plasare, aceasta este utilizată.
  • Dacă facemode este False, elipsa este arătată ca un cadru de sârmă, altfel ca o fațetă.
  • Returnează obiectul nou creat.

Exempluː

import FreeCAD as App
import Draft

doc = App.newDocument()

ellipse1 = Draft.make_ellipse(3000, 200)
ellipse2 = Draft.make_ellipse(700, 1000)

zaxis = App.Vector(0, 0, 1)
p3 = App.Vector(1000, 1000, 0)
place3 = App.Placement(p3, App.Rotation(zaxis, 90))

ellipse3 = Draft.make_ellipse(700, 1000, placement=place3)

doc.recompute()