Draft Circle/cs: Difference between revisions

From FreeCAD Documentation
(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...")
(Created page with "==Volby== * Základní způsob použití nástrije Kružnice je zadáním dvou bodů, středu a bodu na obvodu kružnice, který definuje poloměr. * Stiskem {{KEY|ALT}} můž...")
Line 11: Line 11:
# Klikněte na druhý bod ve 3D pohledu nebo zadejte hodnotu poloměru.
# Klikněte na druhý bod ve 3D pohledu nebo zadejte hodnotu poloměru.


==Options==
==Volby==
* Základní způsob použití nástrije Kružnice je zadáním dvou bodů, středu a bodu na obvodu kružnice, který definuje poloměr.
* The primary use of the circle tool is by picking two points, the centre and a point on the circumference, defining the radius.
* Stiskem {{KEY|ALT}} můžete vybrat tečnu místo zadání druhého bodu. Můžete tak zkonstruovat několik typů kružnic výběrem jedné dvou nebo tří tečen.
* By pressing {{KEY|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 {{KEY|ENTER}} between each X, Y and Z component.
* Chcete-li zadat souřadnice ručně, jdenoduše vkládejte čísla a stiskněte {{KEY|ENTER}} mezi každou z komponent X, Y a Z.
* Stiskněte klávesu T nebo klikněte na zaklikávací políčko pro zatrhnutí nebo odtrhnutí tlačítka Pokračovat. Je-li nastaven pokračovací mód, bude nástroj Kružnice hned po zadání druhého bodu připraven ke kreslení další kružnice bez nutnosti stisknout znovu tlačítko Kružnice.
* Press {{KEY|T}} or click the checkbox to check/uncheck the {{KEY|'''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 {{KEY|CTRL}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance.
* Press {{KEY|CTRL}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance.
* Press {{KEY|SHIFT}} while drawing to [[Draft_Constrain|constrain]] your second point horizontally or vertically in relation to the first one.
* Press {{KEY|SHIFT}} while drawing to [[Draft_Constrain|constrain]] your second point horizontally or vertically in relation to the first one.

Revision as of 17:07, 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.

Volby

  • Základní způsob použití nástrije Kružnice je zadáním dvou bodů, středu a bodu na obvodu kružnice, který definuje poloměr.
  • Stiskem ALT můžete vybrat tečnu místo zadání druhého bodu. Můžete tak zkonstruovat několik typů kružnic výběrem jedné dvou nebo tří tečen.
  • Chcete-li zadat souřadnice ručně, jdenoduše vkládejte čísla a stiskněte ENTER mezi každou z komponent X, Y a Z.
  • Stiskněte klávesu T nebo klikněte na zaklikávací políčko pro zatrhnutí nebo odtrhnutí tlačítka Pokračovat. Je-li nastaven pokračovací mód, bude nástroj Kružnice hned po zadání druhého bodu připraven ke kreslení další kružnice bez nutnosti stisknout znovu tlačítko Kružnice.
  • 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)