Draft: Cerchio

From FreeCAD Documentation
Revision as of 18:43, 31 May 2014 by Renatorivo (talk | contribs)

Cerchio

Posizione nel menu
Draft → Cerchio
Ambiente
Draft, Architettura
Avvio veloce
C I
Introdotto nella versione
-
Vedere anche
Arco

Crea una circonferenza nel corrente piano di lavoro, inserendo due punti, il centro e il raggio, oppure selezionando le tangenti, oppure con qualsiasi combinazione di questi elementi. La circonferenza 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. Questo strumento funziona allo stesso modo dello strumento Arco di Draft, tranne che termina dopo l'inserimento del raggio.

Utilizzo

  1. Premere il pulsante Template:KEY/it, o premere i tasti Template:KEY/it e Template:KEY/it
  2. Selezionare un primo punto nella vista 3D per stabilire il centro, oppure digitare le sue coordinate
  3. Selezionare un secondo punto nella vista 3D, o introdurre il valore del raggio.

Options

  • The primary use of the circle tool is by picking two points, the centre and a point on the circumference, defining the radius.
  • By pressing ALT, you can select a tangent instead of picking a point. You can therefore construct several types of circles by selecting one, two or three tangents.
  • 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 Circle tool will restart after you give the second point, allowing you to draw another circle without pressing the Circle 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 circle to appear as a face after it has been closed. This simply sets the View->Property of the Circle to "Flat lines" or "Wireframe", so it can easily be changed later.
  • Press ESC or the Cancel button to abort the current Line command.
  • The circle can be turned into an arc after creation, by setting its first angle and last angle properties to different values.
  • Circles, when in "Flat Lines" display mode, can display a hatch pattern, by setting their "Pattern" property below.

Properties

  • DatiRadius: The radius of the circle
  • VistaPattern: Specifies a hatch pattern to fill the wire with
  • VistaPattern Size: Specifies the size of the hatch pattern

Script

Lo strumento Cerchio può essere utilizzato nelle macro e dalla console di Python tramite la seguente funzione:

 makeCircle (radius, [placement], [facemode], [startangle], [endangle])
  • Crea un oggetto cerchio con raggio dato.
  • Se si indica un posizionamento (placement), esso viene utilizzato.
  • Se facemode è False, il cerchio viene visualizzato come reticolo, altrimenti come una faccia.
  • Se si indicano un angolo iniziale (startangle) e un angolo finale (endangle), in gradi, essi vengono utilizzati e l'oggetto appare come un arco.
  • Restituisce l'oggetto appena creato.

Esempio:

 import Draft
 myCircle = Draft.makeCircle(2)