Draft Polygon/sv

Beskrivning
Detta verktyg frågar användaren efter en centrumpunkt och en radie. Du kan sedan specificera antalet sidor, och en regelbunden polygon kommer att skapas inuti den givna radiens cirkel. Antalet sidor och om polygonen är inskriven eller omskriven cirkeln kan ändras när som helst i objektets egenskaper. Den nyss skapade polygonen kommer att ha nuvarande linkefärg och -tjocklek.

Punkterna kan markeras med musen i 3D vyn eller genom att mata in koordinater med tangentbordet.

A Draft Polygon can be switched from inscribed to circumscribed by changing its property. The corners of a Draft Polygon can be filleted (rounded) or chamfered by changing its or  respectively.



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

Bruk

 * Markera en punkt på ett tomt område i 3D vyn, eller på ett existerande objekt.
 * Om du håller ned så kommer din punkt att snäppa till tillgängliga snäpp platser.
 * Om du håller ned så kommer din punkt att begränsas i relation till den sista punkten.
 * Skriv in siffror för att mata in en koordinat manuellt
 * Om du trycker ned så kommer operationen att avbrytas.
 * Den nyss skapade tråden kommer att anta gällande linjestil.
 * Polygonen kan visas som en yta eller som en trådmodell, genom att ändra dess visningsläge.

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 the coordinates for the center 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.
 * The checkbox has no purpose for this command.
 * 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 polygon 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 polygons.
 * 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 and radii:.
 * 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 RegularPolygon instead of a Draft Polygon.

Properties
See also: Property editor.

A Draft Polygon 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 polygon. The value will be if  if.
 * : specifies the length of the chamfers at the corners of the polygon.
 * : specifies if the polygon is in a circle or  around a circle.
 * : specifies the number of sides of the polygon.
 * : specifies the radius of the fillets at the corners of the polygon.
 * : specifies if the polygon makes a face or not. If it is a face is created, otherwise only the perimeter is considered part of the object.
 * : specifies the radius of the circle that defines the polygon.

View

 * : specifies the Draft Pattern with which to fill the face of the polygon. This property only works if is  and if  is.
 * : specifies the size of the Draft Pattern.

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

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


 * Creates a object with the given number of faces, and based on a circle of  in millimeters.
 * If is, the polygon is inscribed in the circle, otherwise it will be circumscribed.
 * If is  the polygon is created at the origin and one of its vertices will lie on the X axis.
 * If is, the polygon will make a face, that is, it will appear filled.

Example: