Draft Circle/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "==Popis== Nástroj Kružnice vytváří kružnici v aktuální pracovní rovině zadáním dvou bodů: střed a poloměr nebo zadáním tečen nebo komb...")
(Created page with "==How to use== # Stiskněte tlačítko {{KEY|16px Kružnice}} nebo klávesy {{KEY|C}} pak {{KEY|I}} # Klikněte na první bod ve 3D...")
Line 7: Line 7:


==How to use==
==How to use==
# Press the {{KEY|[[Image:Draft Circle.png|16px]] [[Draft Circle]]}} button, or press {{KEY|C}} then {{KEY|I}} keys
# Stiskněte tlačítko {{KEY|[[Image:Draft Circle.png|16px]] [[Draft Circle|Kružnice]]}} nebo klávesy {{KEY|C}} pak {{KEY|I}}
# Click a first point on the 3D view, or type a [[Draft_Coordinates|coordinate]]
# Klikněte na první bod ve 3D pohledu nebo zadejte [[Draft_Coordinates|souřadnice]]
# Klikněte na druhý bod ve 3D pohledu nebo zadejte hodnotu poloměru.
# Click a second point on the 3D view, or enter a radius value.


==Options==
==Options==

Revision as of 16:59, 20 January 2014

Draft_Circle

Menu location
Draft -> Circle
Workbenches
Kreslení, Architektura
Default shortcut
C I
Introduced in version
-
See also
Kreslení oblouk

Popis

Nástroj Kružnice vytváří kružnici v aktuální pracovní rovině zadáním dvou bodů: střed a poloměr nebo zadáním tečen nebo kombinací obou způsobů. Použije se tloušťka čáry a barva předem zadaná v záložce Nástrojů. Tento nástroj pracuje stejně jako nástroj Oblouk, kromě toho, že se končí po zadání poloměru.

How to use

  1. Stiskněte tlačítko Kružnice nebo klávesy C pak I
  2. Klikněte na první bod ve 3D pohledu nebo zadejte souřadnice
  3. Klikněte na druhý bod ve 3D pohledu nebo zadejte hodnotu poloměru.

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.

Properties

  • ÚdajeRadius: The radius of the circle

Scripting

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

 '''makeCircle (radius, [placement], [facemode], [startangle], [endangle])'''
  • Creates a circle object with given radius.
  • If a placement is given, it is used.
  • If facemode is False, the circle is shown as a wireframe, otherwise as a face.
  • If startangle AND endangle are given (in degrees), they are used and the object appears as an arc.
  • Returns the newly created object.

Example:

 import Draft
 myCircle = Draft.makeCircle(2)