Draft Rectangle

From FreeCAD Documentation
Revision as of 17:40, 25 September 2016 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Draft Rectangle

Ubicación en el Menú
Croquis -> Rectángulo
Entornos de trabajo
Croquis, Arquitectura
Atajo de teclado por defecto
R E
Introducido en versión
-
Ver también
Cubo

Descripción

Esta herramienta dibuja un rectángulo indicando dos puntos de su diagonal.

La herramienta rectángulo crea un rectángulo indicando dos puntos de su diagonal. Toma el espesor de línea y color previamente definidos en la pestaña de tareas.

Utilización

  1. Presiona el botón rectángulo, o presiona las teclas R y E
  2. Designa un primer punto de la diagonal en la vista 3D, o escribe unas coordenadas
  3. Designa el punto apuesto de la diagonal en la vista 3D, o escribe unas coordenadas. El rectángulo también será una cara, incluso aunque se muestre como en modo alámbrico.

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 filled with a face after it has been closed.
  • 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

  • DatosLength: Specifies the length of the rectangle
  • DatosWidth: Specifies the width of the rectangle
  • DatosChamfer Size: Specifies the size of chamfered corners
  • DatosFillet Radius: Specifies a curvature radius to give to the corners of the rectangle
  • DatosRows: Allows to give horizontal subdivisions to this rectangle
  • DatosColumns: Allows to give vertical subdivisions to this rectangle
  • DatosMake Face: Fills the rectangle with a face
  • VistaTexture 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.
  • VistaPattern: Specifies a hatch pattern to fill the wire with.
  • VistaPattern Size: Specifies the size of the hatch pattern

See also Draft Pattern page.

Archivos de guión

La herramienta rectángulo puede utilizarse en macros y desde la consola de Python utilizando la siguiente función:

makeRectangle (length, width, [placement], [facemode])
  • Crea un objeto rectángulo con longitud en dirección X y altura en dirección Y.
  • Si se indica una ubicación, se utiliza.
  • Si facemode es False, el rectángulo se mostrará en modo alámbrico, en otro caso como una cara.
  • Se utilizarán el espesor de línea y color actuales de Boceto.
  • Devuelve el objeto recién creado.

Ejemplo:

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