Draft Cercle

From FreeCAD Documentation
Revision as of 19:12, 1 August 2014 by Mario52 (talk | contribs)

Cercle

Emplacement du menu
Draft → Cercle
Ateliers
Planche à dessin (2d Draft)
Raccourci par défaut
C I
Introduit dans la version
-
Voir aussi
Arc

L'outil Cercle crée un cercle dans le plan de travail courant en entrant deux points, le centre et le rayon, ou en sélectionnant une tangente, ou toute combinaison de ceux-ci. Il prend la type de ligne et couleur précédemment définis dans l'onglet tâches. Cet outil fonctionne de la même manière que l'outil Arc, sauf qu'il s'arrête après avoir entré le rayon.

Utilisation

  1. Pressez la touche Draft Circle, ou pressez les touches C et I
  2. Cliquez un premier point dans la vue 3D, ou entez les coordonnées
  3. Cliquez un second point dans la vue 3D, or entez la valeur du rayon.

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

  • DonnéesRadius: The radius of the circle
  • VuePattern: Specifies a hatch pattern to fill the wire with
  • VuePattern Size: Specifies the size of the hatch pattern

Script

L'outil text-top=Cercle cercle peut être utilisé dans les macros, et, dans la console Python, en utilisant la fonction suivante :

 makeCircle (radius, [placement], [facemode], [startangle], [endangle])

Crée un objet cercle avec un rayon donné.
Si une position est donnée, elle est utilisée.
Si facemode a la valeur False, le cercle est montré comme une forme filaire, sinon ,comme une face.
Si startangle et endangle sont donnés (en degrés), ils sont utilisés, et, l'objet apparaît comme un text-top=Arc arc. Retourne l'objet nouvellement créé.

Exemple:

 import Draft
 myCircle = Draft.makeCircle(2)