Draft OrthoArray/es

Borrador ArregloOrtogonal

Ubicación en el Menú
Modificación → Herramientas de Arreglo → Arreglo
Entornos de trabajo
Borrador, Arquitectura
Atajo de teclado por defecto
Ninguno
Introducido en versión
0.19
Ver también
Borrador ArregloPolar, Borrador ArregloCircular, Borrador ArregloRutas, Borrador ArregloEnlaceRuta, Borrador ArregloPunto, Borrador ArregloEnlacePunto.

Descripción

El Borrador ArregloOrtogonal crea un arreglo ortogonal (3 ejes) a partir de un objeto seleccionado. 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 ArregloOrtogonal

Utilización

  1. Opcionalmente selecciona un objeto.
  2. Hay varias formas de invocar el comando:

Array en el menú.

  1. Se abre el panel de tareas Arreglo Ortogonal. Ver Opciones para más información.
  2. Si aún no ha seleccionado ningún objeto: seleccione un objeto.
  3. Introduzca los parámetros necesarios en el panel de tareas.
  4. Para terminar el comando haga una de las siguientes cosas:
    • Haga clic en la Vista 3D.
    • Pulse Enter.
    • Pulse el botón OK.

Opciones

Notas

Propiedades

See also: Property editor.

The Draft OrthoArray command, the Draft PolarArray command and the Draft CircularArray command create the same object. This object is derived from a Part Feature object and inherits all its properties (with the exception of some View properties that are not inherited by Link arrays). The following properties are additional unless otherwise stated:

Datos

Link

The properties in this group are only available for Link arrays. See Std LinkMake for more information.

Circular array

The properties in this group are hidden for orthogonal arrays and polar arrays.

Objects

Orthogonal array

The properties in this group are hidden for circular arrays and polar arrays.

Polar array

The properties in this group are hidden for circular arrays and orthogonal arrays.

Polar/circular array

The properties in this group are hidden for orthogonal arrays.

View

Link

The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.

Base

The properties in this group, with the exception of the inherited property, are only available for Link arrays. See Std LinkMake for more information.

Display Options

The properties in this group are inherited properties. See Part Feature for more information.

Draft

Object style

The properties in this group are not inherited by Link arrays.

Guión

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

Parametric array

To create a parametric orthogonal 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 wrappers for orthogonal arrays are:

array = make_ortho_array(base_object,
                         v_x=App.Vector(10, 0, 0), v_y=App.Vector(0, 10, 0), v_z=App.Vector(0, 0, 10),
                         n_x=2, n_y=2, n_z=1,
                         use_link=True)
array = make_ortho_array2d(base_object,
                           v_x=App.Vector(10, 0, 0), v_y=App.Vector(0, 10, 0),
                           n_x=2, n_y=2,
                           use_link=True)

The wrappers for rectangular arrays are:

array = make_rect_array(base_object,
                        d_x=10, d_y=10, d_z=10,
                        n_x=2, n_y=2, n_z=1,
                        use_link=True)
array = make_rect_array2d(base_object,
                          d_x=10, d_y=10,
                          n_x=2, n_y=2,
                          use_link=True)

Example:

import FreeCAD as App
import Draft

doc = App.newDocument()

rect = Draft.make_rectangle(1500, 500)
v_x = App.Vector(1600, 0, 0)
v_y = App.Vector(0, 600, 0)

array = Draft.make_ortho_array2d(rect, v_x, v_y, 3, 4)
doc.recompute()

Non-parametric array

To create a non-parametric orthogonal array use the array method of the Draft module. This method returns None.

array(objectslist, xvector, yvector, xnum, ynum)
array(objectslist, xvector, yvector, zvector, xnum, ynum, znum)

Example:

import FreeCAD as App
import Draft

doc = App.newDocument()

rect = Draft.make_rectangle(1500, 500)
v_x = App.Vector(1600, 0, 0)
v_y = App.Vector(0, 600, 0)

Draft.array(rect, v_x, v_y, 3, 4)
doc.recompute()