Draft: Ellisse

From FreeCAD Documentation
Revision as of 17:19, 31 May 2014 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Draft Ellipse

Menu location
Draft -> Ellipse
Workbenches
Draft, Arch
Default shortcut
E L
Introduced in version
-
See also
Draft Circle

Descrizione

Crea nel piano di lavoro corrente una ellisse inscritta in un rettangolo. Il rettangolo di contenimento ha le dimensioni dei due diametri. La linea assume il tipo di linea e il colore impostati in precedenza nella Barra dei comandi e modificabili tramite la stessa o nella scheda Vista combinata → Proprietà → Vista.

Utilizzo

  1. Premere il pulsante Template:KEY/it, o premere i tasti Template:KEY/it e Template:KEY/it
  2. Nella vista 3D selezionare un primo punto vertice del rettangolo di contenimento oppure digitare le sue coordinate
  3. Selezionare il punto del vertice opposto nella vista 3D, o digitare le sue coordinate

Opzioni

  • To enter coordinates manually, simply enter the numbers, then press ENTER between each X, Y and Z component.
  • Press T or click the checkbox to check/uncheck the 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.
  • Press CTRL while drawing to force snapping your point to the nearest snap location, independently of the distance.
  • Press SHIFT while drawing to constrain your second point horizontally or vertically in relation to the first one.
  • Press I or the Filled button to have the ellipse to appear as a face after it has been closed. This simply sets the View->Property of the ellipse to "Flat lines" or "Wireframe", so it can easily be changed later.
  • Press ESC or the Cancel button to abort the command.
  • Ellipses, when in "Flat Lines" display mode, can display a hatch pattern, by setting their "Pattern" property below.

Proprietà

  • DatiMajor Radius: The major radius of the ellipse
  • DatiMinor Radius: The minor radius of the ellipse
  • VistaPattern: Specifies a hatch pattern to fill the ellipse with
  • VistaPattern Size: Specifies the size of the hatch pattern

Scripting

The Ellipse tool can by used in macros and from the python console by using the following function:

 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.

Esempio:

 import Draft
 myEllipse = Draft.makeEllipse(4,2)