Draft Rectangle/sv

Beskrivning
Detta verktyg ritar en rektangel genom att välja två motsatta punkter.

The corners of a Draft Rectangle can be filleted (rounded) or chamfered by changing its or  respectively. It is also possible to subdivide a Draft Rectangle by changing its and/or  property.



Usage
See also: Draft Tray, Draft Snap and Draft Constrain.

Bruk

 * Markera punkter i ett tomt område i 3d vyn, eller på ett existerande objekt.
 * Nedtryckning av kommer att snäppa din punkt till tillgängliga snäpp-punkter.
 * Skriv in siffror för att manuellt mata in en koordinat.
 * Nedtryckning av medan du väljer den motsatta punkten tillåter dig att begränsa den ortogonalt i relation till det ögonblick som du tryckte på.
 * Om du trycker på så avbryts funktionen.
 * Den skapade rektangeln kommer att ha nuvarande linjestil.
 * Rektanglar har en "Texturbild" egenskap som kan användas för att visa en bild som mappas på rektangeln. Du måste se till att ge rektangeln samma dimensioner som bilden. Om man tar bort innehållet i egenskapen så försvinner bilden från rektangeln. Detta är användbart om du behöver kalkera av en pappersritning som du har skannat in.

Options
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.


 * To manually enter coordinates enter the X, Y and Z component, and press after each. Or you can press the  button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
 * Press or click the  checkbox to toggle relative mode. If relative mode is on, the coordinates of the second point are relative to the first point, else they are relative to the coordinate system origin.
 * Press or click the  checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system.
 * Press or click the  checkbox to toggle filled mode. If filled mode is on, the created rectangle will have  set to  and will have a filled face.
 * Press or click the  checkbox to toggle continue mode. If continue mode is on, the command will restart after finishing, allowing you to continue creating rectangles.
 * Press to switch Draft snapping on or off.
 * Press or the  button to abort the command.

Preferences
See also: Preferences Editor and Draft Preferences.


 * To change the number of decimals used for the input of coordinates:.
 * To change the initial value of filled mode: . Changing the filled mode in a task panel will override this preference for the current FreeCAD session.
 * If the option is checked, the command will create a Part Plane instead of a Draft Rectangle.

Properties
See also: Property editor.

A Draft Rectangle object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:

Data

 * : (read-only) specifies the area of the face of the rectangle. The value will be if  if.
 * : specifies the length of the chamfers at the corners of the rectangle.
 * : specifies the number of equal-sized columns in which the rectangle is divided.
 * : specifies the radius of the fillets at the corners of the rectangle.
 * : specifies the height of the rectangle.
 * : specifies the length of the rectangle.
 * : specifies if the rectangle makes a face or not. If it is a face is created, otherwise only the perimeter is considered part of the object.
 * : specifies the number of equal-sized rows in which the rectangle is divided.

View

 * : specifies the Draft Pattern with which to fill the face of the rectangle. This property only works if is  and if  is.
 * : specifies the size of the Draft Pattern.
 * : specifies the path of the image file to be mapped onto the face of the rectangle. Blanking this property will remove the image. The rectangle should have the same proportions as the image to avoid distortions.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft Rectangle use the method  of the Draft module. This method replaces the deprecated method.


 * Creates a object with  in the X direction and  in the Y direction, with units in millimeters.
 * If is  the rectangle is created at the origin and the length will be parallel to the X axis.
 * If is, the rectangle will make a face, that is, it will appear filled.

Example: