Kreslení Obdélníku

From FreeCAD Documentation
Revision as of 11:45, 24 July 2014 by Renatorivo (talk | contribs)

Draft Rectangle

Umístění Menu
Draft -> Rectangle
Pracovní stoly
Kreslení, Architecture
Výchozí zástupce
R E
Představen ve verzi
-
Viz také
Part Box

Popis

Nástroj Obdélník vytváří obdélník zadáním dvou protějších bodů. Použije se tloušťka čáry a barva předem zadaná v záložce Nástrojů.

Použití

  1. Stiskněte tlačítko Obdélník nebo klávesy R a potom E
  2. Klikněte na první roh ve 3D pohledu nebo zadejte souřadnice
  3. Klikněte na protější bod ve 3D pohledu nebo zadejte souřadnice. Obdélník je také povrchem, i když se jeví jako drátový model.

Options

  • 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 R or click the checkbox to check/uncheck the Relative button. If relative mode is on, the coordinates of the next point are relative to the last one. If not, they are absolute, taken from the (0,0,0) origin point.
  • Press T or click the checkbox to check/uncheck the Continue button. If continue mode is on, the Rectangle tool will restart after you finish or close it, allowing you to draw another one without pressing the Rectangle 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 next point horizontally or vertically in relation to the last one.
  • Press I or the Filled button to have the rectangle to appear as a face after it has been closed. This simply sets the View->Property of the Rectangle to "Flat lines" or "Wireframe", so it can easily be changed later.
  • Press ESC or the Cancel button to abort the current Line command.
  • Rectangles, when in "Flat Lines" display mode, can display a hatch pattern, by setting their "Pattern" property.

Properties

  • ÚdajeLength: Specifies the length of the rectangle
  • ÚdajeWidth: Specifies the width of the rectangle
  • ÚdajeChamfer Size: Specifies the size of chamfered corners
  • ÚdajeFillet Radius: Specifies a curvature radius to give to the corners of the rectangle
  • PohledTexture Image: Allows to give the path to an image file to be mapped on the rectangle. It is up to you to give the rectangle the same proportion as the image if you want to avoid distortions. Blanking this property will remove the image.
  • PohledPattern: Specifies a hatch pattern to fill the wire with
  • PohledPattern Size: Specifies the size of the hatch pattern

Skriptování

Nástroj Obdélník může být využit v makrech a z konzoly Pythonu použitím následující funkce:

 makeRectangle (length, width, [placement], [facemode])
  • Vytvoří objekt obdélník s délkou v ose X a výškou v ose Y.
  • Je-li zadáno placement (umístění), je použito.
  • Je-li facemode False, obdélník je zobrazen jako povrch, jinak jako drátový model.
  • Je použita tloušťka čáry a barva čáry podle aktuálního nastavení.
  • Výstupem je nově vytvořený objekt.

Příklad:

 import FreeCAD,Draft
 Draft.makeRectangle(10,4)