Draft Rectangle/cs: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
{{GuiCommand/cs|Name=Draft_Rectangle|Name/cs=Draft_Rectangle|Workbenches=[[Draft Module/cs|Kreslení]], [[Arch Module/cs|Architecture]]|MenuLocation=Draft -> Rectangle|Shortcut=R E|SeeAlso=[[Part Box/cs|Part Box]]}}
{{GuiCommand|Name=Draft Rectangle|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft -> Rectangle|Shortcut=R E|SeeAlso=[[Part Box|Part Box]]}}


==Popis==
==Popis==
Line 11: Line 11:
# Klikněte na protější bod ve 3D pohledu nebo zadejte [[Draft_Coordinates/cs|souřadnice]]. Obdélník je také povrchem, i když se jeví jako drátový model.
# Klikněte na protější bod ve 3D pohledu nebo zadejte [[Draft_Coordinates/cs|souřadnice]]. Obdélník je také povrchem, i když se jeví jako drátový model.


==Volby==
==Options==
* Stiskněte {{KEY|X}}, {{KEY|Y}} nebo {{KEY|Z}} po prvním bodu pro určení osy, ve které bude následuící bod.
* Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} after a point to constrain the next point on the given axis.
* Pro zadání souřadnic ručně, jednoduše zadejte číslo a stiskněte {{KEY|ENTER}} mezi každou z komponent X, Y a Z.
* To enter coordinates manually, simply enter the numbers, then press {{KEY|ENTER}} between each X, Y and Z component.
* Press {{KEY|R}} or click the checkbox to check/uncheck the {{KEY|'''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.
* Stiskněte klávesu {{KEY|R}} nebo klikněte/odklikněte zaklikávací políčko {{KEY|'''Relativní'''}}. Je-li nastaven relativní mód jsou souřadnice následujícího bodu relativní k předchozímu bodu. Je-li mód absolutní souřadnice jsou vztaženy k počátečnímu bodu (0,0,0).
* Press {{KEY|T}} or click the checkbox to check/uncheck the {{KEY|'''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.
* Stiskněte klávesu {{KEY|T}} nebo klikněte/odklikněte zaklikávací políčko {{KEY|'''Pokračovat'''}}. Je-li nastaven pokračovací mód, nástroj Obdélník bude po ukončení obdélníku restartován a připraven ke kreslení dalšího obdélníku bez nutnosti znovu jej spouštět klikáním na tlačítko Obdélník.
* Stiskněte při kreslení klávesu {{KEY|CTRL}} pro [[Draft_Snap/cs|přichycení]] Vašeho bodu k nejbližšímu uchopovacímu místu, nezávisle na vzdálenosti od něho.
* Press {{KEY|CTRL}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance.
* Stiskněte při kreslení klávesu {{KEY|SHIFT}} pro nastavení [[Draft_Constrain/cs|vazby]] Vašeho dalšího bodu vodorovně nebo svisle v relaci k předchozímu bodu.
* Press {{KEY|SHIFT}} while drawing to [[Draft_Constrain|constrain]] your next point horizontally or vertically in relation to the last one.
* Stiskněte klávesu {{KEY|I}} nebo tlačítko {{KEY|'''Filled'''}} aby se obdélník zobrazoval jako plocha. To jednoduše nastavuje Pohled->Vlastnost Obdélníku na "Otevřené čáry" nebo "Drátový model", toto také může být snadno změněno později.
* Press {{KEY|I}} or the {{KEY|'''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.
* Stiskněte klávesu {{KEY|ESC}} nebo tlačítko {{KEY|'''Cancel'''}} pro ukončení aktuálního příkazu Obdélník.
* Press {{KEY|ESC}} or the {{KEY|'''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.


==Vlastnosti==
==Properties==
* {{PropertyData|Délka}}: Specifikuje délku obdélníku
* {{PropertyData|Length}}: Specifies the length of the rectangle
* {{PropertyData|Šířka}}: Specifikuje šířku obdélníku
* {{PropertyData|Width}}: Specifies the width of the rectangle
* {{PropertyData|Poloměr zaoblení}}: Specifikuje poloměr zaoblení rohů obdélníku
* {{PropertyData|Chamfer Size}}: Specifies the size of chamfered corners
* {{PropertyData|Fillet Radius}}: Specifies a curvature radius to give to the corners of the rectangle
* {{PropertyView|Textura obrázku}}: Umožňuje zadat adresu souboru s obrázkem, který bude zobrazen na obdélníku. Je na Vás jestli dáte obdélníku stejné proporce jako má obrázek abyste se vyhnuli jeho zkreslení. Nevyplnění této vlastnosti obrázek odebere.
* {{PropertyView|Texture 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.
* {{PropertyView|Pattern}}: Specifies a hatch pattern to fill the wire with
* {{PropertyView|Pattern Size}}: Specifies the size of the hatch pattern


==Skriptování==
==Skriptování==

Revision as of 21:04, 18 June 2014

Draft Rectangle

Menu location
Draft -> Rectangle
Workbenches
Draft, Arch
Default shortcut
R E
Introduced in version
-
See also
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)