Draft Polygon
|
Ubicación en el Menú |
---|
Croquis → Polígono |
Entornos de trabajo |
Croquis, Arquitectura |
Atajo de teclado por defecto |
P G |
Introducido en versión |
- |
Ver también |
Ninguno |
Description
Descripción
La herramienta polígono crea un polígono regular designando dos puntos, el centro y un segundo punto definiendo un radio. Toma el espesor de línea y color previamente establecidos en la pestaña de tareas.
A Draft Polygon can be switched from inscribed to circumscribed by changing its DatosDraw Mode property. The corners of a Draft Polygon can be filleted (rounded) or chamfered by changing its DatosFillet Radius or DatosChamfer Size respectively.
Usage
See also: Draft Tray, Draft Snap and Draft Constrain.
El punto puede indicarse con el ratón en una vista 3D o introduciendo coordenadas desde el teclado.
Utilización
- Presiona el botón
Polígono, o presiona las teclas P y G
- Designa un primer punto en la vista 3D, o escribe unas coordenadas para indicar el centro
- Ajusta el número deseado de dados en el letrero de diálogo de opciones,
- Designa otro punto en la vista 3D, o escribe un valor de radio para definir el radio del polígono. El polígono será también una cara, aunque se muestre en modo alámbrico.
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 (for version 1.0).
Opciones
- Paras introducir coordenadas manualmente, simplemente introduce los números y presiona ENTER entre cada componente X, Y y Z.
- Presiona T o selecciona la casilla para activar/desactivar el botón Continuar. Si el modo continuar está activado, la herramienta polígono se reiniciará después de terminar permitiendo que dibujes otro sin presionar el botón de polígono de nuevo.
- Presiona CTRL mientras dibujas para forzar el ajuste de tu punto a la ubicación de ajuste más cercana, independientemente de la distancia.
- Presiona SHIFT mientras dibujas para restringir tu siguiente punto horizontal o verticalmente en relación al último punto indicado.
- Presiona I o el botón Relleno para que el polígono se muestre como una cara. Esto simplemente establece las propiedades de vista del rectángulo como "líneas planas" o "alámbricas", de modo que se pueda cambiar después de forma sencilla.
- Presiona ESC o el botón Cancelar para abortar el comando actual.
- Los polígonos, cuando se encuentran en el modo de visualización "Líneas planas", pueden mostrar un patrón de sombreado, estableciendo su propiedad "Patrón" a continuación.
Notes
- A Draft Polygon can be edited with the Draft Edit command.
Preferences
See also: Preferences Editor and Draft Preferences.
- If the Edit → Preferences... → Draft → General → Create Part primitives if possible option is checked, the command will create a Part RegularPolygon instead of a Draft Polygon.
Propiedades
- DatosRadius: El radio de la circunferencia de definición
- DatosDraw Mode: Especifica si el polígono es inscrito o circunscrito a la circunferencia
- Datos Chaflán tamaño: Especifica el tamaño de las esquinas achaflanadas
- DatosFaces Number: El número de lados del polígono
- DatosFillet Radius: Especifica el radio de curvatura a dar a los vértices del rectángulo
- Datos Make Face: llena el polígono con una cara
* Vista Pattern: especifica un patrón de sombreado para rellenar el cable con * Vista Pattern Size: especifica el tamaño del patrón de sombreado
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
Draft
- DatosArea (
Area
): (read-only) specifies the area of the face of the polygon. The value will be0.0
if DatosMake Face iffalse
. - DatosChamfer Size (
Length
): specifies the length of the chamfers at the corners of the polygon. - DatosDraw Mode (
Enumeration
): specifies if the polygon isinscribed
in a circle orcircumscribed
around a circle. - DatosFaces Number (
Integer
): specifies the number of sides of the polygon. - DatosFillet Radius (
Length
): specifies the radius of the fillets at the corners of the polygon. - DatosMake Face (
Bool
): specifies if the polygon makes a face or not. If it istrue
a face is created, otherwise only the perimeter is considered part of the object. - DatosRadius (
Length
): specifies the radius of the circle that defines the polygon.
View
Draft
- VistaPattern (
Enumeration
): specifies the Draft Pattern with which to fill the face of the polygon. This property only works if DatosMake Face istrue
and if VistaDisplay Mode isFlat Lines
. - VistaPattern Size (
Float
): specifies the size of the Draft Pattern.
Scripting
Archivos de guión
La herramienta polígono puede utilizarse en macros y desde la consola de Python utilizando la siguiente función:
To create a Draft Polygon use the make_polygon
method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makePolygon
method.
polygon = make_polygon(nfaces, radius=1, inscribed=True, placement=None, face=None, support=None)
- Crea un objeto polígono con el número de caras y el radio dados.
- Siinscribed es False, el polígono es circunscrito a la circunferencia con el radio dado, en otro caso es inscrito.
- Si face es True, la forma resultante se muestra como una cara, en otro caso como una estructura alámbrica.
- Devuelve el objeto recién creado.
Ejemplo:
import FreeCAD as App
import Draft
doc = App.newDocument()
polygon1 = Draft.make_polygon(4, radius=500)
polygon2 = Draft.make_polygon(5, radius=750)
zaxis = App.Vector(0, 0, 1)
p3 = App.Vector(1000, 1000, 0)
place3 = App.Placement(p3, App.Rotation(zaxis, 90))
Polygon3 = Draft.make_polygon(6, radius=1450, placement=place3)
doc.recompute()
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state

- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub