Draft Clone/es: Difference between revisions

From FreeCAD Documentation
m (template fr)
(Updating to match new version of source page)
Line 1: Line 1:
{{GuiCommand/es|Name=Draft Clone|Workbenches=[[Draft Module/es|Boceto]], [[Arch Module/es|Arquitectura]]|MenuLocation=Boceto-> Clonar|Ver también=[[Draft Scale/es|Escalar]]}}
{{GuiCommand|Name=Draft Clone|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft -> Clone|SeeAlso=[[Draft Scale]]}}


==Descripción==
==Description==
This tool produces a clone (a copy that is parametrically bound to the original object) of a selected object. If the original object changes, the clone changes too, but keeps its position, rotation and scale.

Esta herramienta crea un clon (una copia que está paramétricamente vinculada al objeto original) de un objeto seleccionado. Si el objeto original cambia, el clon también cambia, pero mantiene su posición, rotación y escala.


[[Image:Draft_Clone_example.jpg|400px]]
[[Image:Draft_Clone_example.jpg|400px]]


==Utilización==
==How to use==
# Select objects you wish to clone

# Press the {{KEY|[[Image:Draft Clone.png|16px]] [[Draft Clone]]}} button
# Selecciona los objetos que quieres clonar
# Presiona el botón {{KEY|[[Image:Draft Clone.png|16px]] [[Draft Clone/es|Clonar]]}}

==Propiedades==

* {{PropertyData|Scale}}: Especifica un factor de escala para el clon
* El resultado de la herramienta [[Draft Scale/es|Escalar]] también es un clon

==Archivos de guión==


==Properties==
La herramienta Clonar se puede utilizar en [[macros/es|macros]] y desde la consola de Python utilizando la siguiente función:
* {{PropertyData|Scale}}: Specifies an optional scale factor for the clone
* The result of the [[Draft Scale]] tool is also a clone


==Scripting==
'''clone (obj,[delta])''': Crea un clon de un o más objetos dados. El clon es una copia exacta vinculada al objeto dado.
The Clone tool can by used in [[macros]] and from the python console by using the following function:
Si el objeto original cambia, el objeto final también cambia. Opcionalmente, puedes indicar un vector delta para mover el
clon desde su posición original.


<syntaxhighlight>
Ejemplo:
clone (obj,[delta])
</syntaxhighlight>
* Makes a clone of the given object(s).
* The clone is an exact, linked copy of the given object.
* If the original object changes, the final object changes too. Optionally, you can give a delta Vector to move the clone away from the original position.


Example:
<syntaxhighlight>
import Draft
import Draft
Draft.clone(FreeCAD.ActiveDocument.ActiveObject)
Draft.clone(FreeCAD.ActiveDocument.ActiveObject)


</syntaxhighlight>
{{languages/es | {{en|Draft_Clone}} {{fr|Draft_Clone/fr}} {{it|Draft_Clone/it}} }}
{{clear}}
<languages/>

Revision as of 16:42, 16 February 2014

Draft Clone

Menu location
Draft -> Clone
Workbenches
Draft, Arch
Default shortcut
None
Introduced in version
-
See also
Draft Scale

Description

This tool produces a clone (a copy that is parametrically bound to the original object) of a selected object. If the original object changes, the clone changes too, but keeps its position, rotation and scale.

How to use

  1. Select objects you wish to clone
  2. Press the Draft Clone button

Properties

  • DatosScale: Specifies an optional scale factor for the clone
  • The result of the Draft Scale tool is also a clone

Scripting

The Clone tool can by used in macros and from the python console by using the following function:

 clone (obj,[delta])
  • Makes a clone of the given object(s).
  • The clone is an exact, linked copy of the given object.
  • If the original object changes, the final object changes too. Optionally, you can give a delta Vector to move the clone away from the original position.

Example:

 import Draft
 Draft.clone(FreeCAD.ActiveDocument.ActiveObject)