|
Ubicación en el Menú |
---|
Modificación → Herramientas de Arreglo → Arreglo Polar |
Entornos de trabajo |
Borrador, Arquitectura |
Atajo de teclado por defecto |
Ninguno |
Introducido en versión |
0.19 |
Ver también |
Borrador OrthoArray, Borrador ArregloCircular, Borrador ArregloRuta, Borrador ArregloEnlaceRuta, Borrador ArregloPunto, Borrador ArregloEnlacePunto |
El comando Borrador ArregloPolar crea un arreglo a partir de un objeto seleccionado colocando copias a lo largo de una circunferencia. El comando puede crear opcionalmente un arreglo Enlace, que es más eficiente que un arreglo normal.
El comando puede usarse en objetos 2D creados con el Ambiente de Trabajo Borrador o Ambiente de Trabajo Dibujo, pero también en muchos objetos 3D como los creados con el Ambiente de Trabajo Pieza, Ambiente de Trabajo DiseñoPieza o Ambiente de Trabajo Arquitectura.
Borrador ArregloPolar
Ver también: Borrador Atrapar
2
. The maximum that can be entered in the task panel is 99
, but higher values are possible by changing the DatosNumber Polar property of the array.
See Draft OrthoArray.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To create a parametric polar array use the make_array
method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeArray
method. The make_array
method can create Draft OrthoArrays, Draft PolarArrays and Draft CircularArrays. For each array type one or more wrappers are available.
The main method:
array = make_array(base_object, arg1, arg2, arg3, arg4=None, arg5=None, arg6=None, use_link=True)
The wrapper for polar arrays is:
array = make_polar_array(base_object,
number=5, angle=360, center=App.Vector(0, 0, 0),
use_link=True)
base_object
is the object to be arrayed. It can also be the Label
(string) of an object in the current document.number
is the number of elements in the pattern, including the original object.angle
is the angle of the polar arc in degrees.center
is the vector that defines the center of the pattern.use_link
is True
the created elements are App Links instead of regular copies.array
is returned with the created array object.Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
tri = Draft.make_polygon(3, 600)
center = App.Vector(-1600, 0, 0)
array = Draft.make_polar_array(tri, 8, 270, center)
doc.recompute()
To create a non-parametric polar array use the array
method of the Draft module. This method returns None
.
array(objectslist, center, angle, number)
Ejemplo:
import FreeCAD as App
import Draft
doc = App.newDocument()
tri = Draft.make_polygon(3, 600)
center = App.Vector(-1600, 0, 0)
Draft.array(tri, center, 270, 8)
doc.recompute()