FreeCAD-Doc/localwiki/Draft_Array-es.html
2018-07-19 18:47:02 -05:00

98 lines
6.2 KiB
HTML

<html><head><title>Draft Array/es</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Draft Array/es</h1></div>
<div id="mw-content-text" lang="es" dir="ltr" class="mw-content-ltr"><hr/>
<div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Draft_Array"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Array.png" class="image"><img alt="Draft Array.png" src="32px-Draft_Array.png" width="32" height="32" srcset="/wiki/images/thumb/c/c8/Draft_Array.png/48px-Draft_Array.png 1.5x, /wiki/images/c/c8/Draft_Array.png 2x" /></a> Draft Array</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Ubicación en el Menú
</th></tr>
<tr>
<td class="ctEven">Boceto → Matriz
</td></tr>
<tr>
<th class="ctOdd">Entornos de trabajo
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/es" title="Draft Module/es">Boceto</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/es" title="Arch Module/es">Arquitectura</a>
</td></tr>
<tr>
<th class="ctOdd">Atajo de teclado por defecto
</th></tr>
<tr>
<td class="ctEven">None
</td></tr>
<tr>
<th class="ctOdd">Ver también
</th></tr>
<tr>
<td class="ctEven">None
</td></tr>
<tr>
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#Draft_Array"><span class="tocnumber">1</span> <span class="toctext">Draft Array</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Descripci.C3.B3n"><span class="tocnumber">2</span> <span class="toctext">Descripción</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Utilizaaci.C3.B3n"><span class="tocnumber">3</span> <span class="toctext">Utilizaación</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Scripting"><span class="tocnumber">4</span> <span class="toctext">Scripting</span></a></li>
<li class="toclevel-1 tocsection-4"><a href="#Opciones"><span class="tocnumber">5</span> <span class="toctext">Opciones</span></a></li>
<li class="toclevel-1 tocsection-5"><a href="#Propiedades"><span class="tocnumber">6</span> <span class="toctext">Propiedades</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Descripci.C3.B3n">Descripción</span></h2>
<p>La herramienta Matriz crea matrices ortogonalea (3 ejes) o polares a partir de los objetos seleccionados. Si no se selecciona ningún objeto, te solicitará que selecciones uno.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Array_example.jpg" class="image"><img alt="Draft Array example.jpg" src="400px-Draft_Array_example.jpg" width="400" height="179" srcset="/wiki/images/thumb/3/3e/Draft_Array_example.jpg/600px-Draft_Array_example.jpg 1.5x, /wiki/images/thumb/3/3e/Draft_Array_example.jpg/800px-Draft_Array_example.jpg 2x" /></a>
</p>
<h2><span class="mw-headline" id="Utilizaaci.C3.B3n">Utilizaación</span></h2>
<ol><li> Selecciona un objeto a partir del que desees crear una matriz</li>
<li> Presiona el botón <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Array.png" class="image"><img alt="Draft Array.png" src="16px-Draft_Array.png" width="16" height="16" srcset="/wiki/images/thumb/c/c8/Draft_Array.png/24px-Draft_Array.png 1.5x, 32px-Draft_Array.png 2x" /></a> <a class="mw-selflink selflink">Matriz</a></span></li></ol>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Array tool can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console by using one of the following functions, depending if you wish to obtain simple, standalone copies of your base object, or a parametric array object, that stays linked to the original object.
</p>
<h2><span class="mw-headline" id="Opciones">Opciones</span></h2>
<ul><li> La matriz se inicia como ortogonal por defecto, puedes cambiar su modo en las propiedades.</li></ul>
<pre>array (objectslist,xvector,yvector,xnum,ynum,[zvector,znum]) </pre>
<h2><span class="mw-headline" id="Propiedades">Propiedades</span></h2>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Array Type</b>: Especifica el tipo de matriz orto o polar</li></ul>
<pre>array (objectslist,center,totalangle,totalnum) </pre>
<p>Ejemplo:
</p><p>Para matrices polares:
</p>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Axis</b>: La dirección normal a la circunferencia de la matriz</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Center</b>: El punto centro de la matriz</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Angle</b>: El ángulo a cubrir con las copias</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Number Polar</b>: El número de copias</li></ul>
<p>Para matrices ortogonales:
</p>
<pre>makeArray (object,xvector,yvector,xnum,ynum) </pre>
<p>For polar array:
</p>
<pre>makeArray (object,center,totalangle,totalnum) </pre>
<ul><li> Creates an array of the given object with, in case of rectangular array, xnum of iterations in the x direction at xvector distance between iterations, and same for y direction with yvector and ynum. In case of polar array, center is a vector, totalangle is the angle to cover (in degrees) and totalnum is the number of objects, including the original. </li>
<li> The result of this function is a parametric Draft Array object.</li></ul>
<p>Para matrices polares:
</p>
<pre>import FreeCAD,Draft
Draft.array(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,0,0),FreeCAD.Vector(0,2,0),2,2) </pre>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Array/es&amp;oldid=220440">http://www.freecadweb.org/wiki/index.php?title=Draft_Array/es&amp;oldid=220440</a>"</div>
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
</body></html>