Kreslení Otočit

From FreeCAD Documentation
Revision as of 18:16, 26 February 2014 by Honza32 (talk | contribs) (Created page with "==Volby==")

Kreslení Otočit

Umístění Menu
Kreslení -> Otočit
Pracovní stoly
Kreslení, Architektura
Výchozí zástupce
R O
Představen ve verzi
-
Viz také
Nikdo

Popis

Nástroj Otočit otáčí nebo kopíruje vybrané objekty o zadaný úhel kolem bodu v aktuální pracovní rovině. Není-li vybrán žádný objekt, budete vyzváni k výběru objektu.

Použití

  1. Vyberte objekt, který chcete otočit nebo zkopírovat
  2. Stiskněte tlačítko Kreslení Otočit nebo klávesy R potom O
  3. Klikněte na střed ve 3D pohledu nebo zadejte souřadnice
  4. Klikněte na druhý bod ve 3D pohledu nebo zadejte referenční úhel
  5. Klikněte na třetí bod ve 3D pohledu nebo zadejte úhel otočení

Volby

  • Press X, Y or Z after a point to constrain the next point on the given axis.
  • 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 Rotate tool will restart after you finish or close it, allowing you to rotate or copy the objects another time without pressing the Rotate button again.
  • Pressing ALT or C or clicking the Copy button will make a copy of the objects, instead of rotating them. If you keep ALT pressed after clicking the third point, you will be able to place more copies, until you release the ALT key.
  • 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 next point horizontally or vertically in relation to the rotation center.
  • Press ESC or the Cancel button to abort the current command.

Scripting

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

 rotate (FreeCAD.Object or list, angle, [center], [axis] ,[copymode])
  • Rotates the given object or the objects contained in the given list with the given angle around the given center if provided, using axis as a rotation axis.
  • If axis is omitted, the rotation will be around the vertical Z axis.
  • If copymode is True, the actual objects are not moved, but copies are created instead.
  • Returns the objects (or their copies is copymode was True).

Example:

 import FreeCAD,Draft
 Draft.rotate(FreeCAD.ActiveDocument.ActiveObject,45)