Arch Add/es: Difference between revisions

From FreeCAD Documentation
(Created page with "==Descripción==")
(Updating to match new version of source page)
(26 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand/es|Name=Arch Add|Workbenches=[[Arch Module/es|Entorno de Arquitectura]]|MenuLocation=Arquitectura -> Adicción|SeeAlso=[[Arch Remove/es|Arch Suprimir]]}}
{{docnav|[[Arch_CutPlane|Cut with plane]]|[[Arch_Remove|Remove component]]|[[Arch_Module|Arch]]|IconL=Arch_CutPlane.svg |IconC=Workbench_Arch.svg |IconR=Arch_Remove.svg}}

<div class="mw-translate-fuzzy">
{{GuiCommand/es|Name=Arch Add|Name/es=Arch Add|Workbenches=[[Arch Module/es|Entorno de Arquitectura]]|MenuLocation=Arquitectura Adicción|SeeAlso=[[Arch Remove/es|Arch Suprimir]]}}
</div>


==Descripción==
==Descripción==


The Add tool allows you to do 4 kinds of operations:
* Add [[Part Module|shape]]-based objects to an Arch component, such as a [[Arch Wall|wall]] or [[Arch Structure|structure]]. These objects make then part of the Arch component, and allow you to modify its shape but keeping its base properties such as width and height
* Add Arch components, such as a [[Arch Wall|walls]] or [[Arch Structure|structures]], to a group-based arch object such as [[Arch Floor|floors]].
* Add [[Arch Axis|axis systems]] to [[Arch Structure|structural objects]]
* Add objects to [[Arch SectionPlane|section planes]]


La herramienta de adicción te permite realizar cuatro tipos de operaciones:
[[Image:Arch Add example.jpg]]
* Añadir objetos basados en [[Part Module/es|formas]] a un componente de Arquitectura, tal como un [[Arch Wall/es|muro]] o una [[Arch Structure/es|estructura]]. Estos objetos forman así parte del componente de Arquitectura, y te permiten modificar su forma pero manteniendo sus propiedades base tales como el ancho y alto.
* Añadir componentes de Arquitectura, como [[Arch Wall/es|muros]] o [[Arch Structure/es|estructuras]], a un objeto de arquitectura como los [[Arch Floor/es|pisos]].
* Añadir [[Arch Axis/es|sistemas de ejes]] a [[Arch Structure/es|objetos estructurales]]
* Añadir objetos a [[Arch SectionPlane/es|planos de sección]]


The counterpart of this tool is the [[Arch Remove]] tool.
In the above image, a box is being added to a wall.


[[Image:Arch Add example.jpg|640px]]
==How to use==
<div class="mw-translate-fuzzy">
''En la imagen superior, un cubo se añade a un muro.''
</div>


==Utilización==
# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
# Press the {{KEY|[[Image:Arch Add.png|16px]] '''Add'''}} button


<div class="mw-translate-fuzzy">
==Scripting==
# Selecciona el objeto(s) a ser añadido, luego el objeto "huésped" (el objeto huésped debe ser el último que selecciones)
# Presiona el botón [[Image:Arch Add.png|16px]] '''Añadir'''
</div>


<div class="mw-translate-fuzzy">
The Add tool can by used in [[macros]] and from the python console by using the following function:
==Programación==
'''addComponents (objectsList,hostObject)''':
</div>
* Adds the given object or the objects from the given list as components to the given host Object. Use this for example to add windows to a wall, or to add walls to a floor.
* Returns nothing.


<div class="mw-translate-fuzzy">
Example:
La herramienta Añadir se puede utilizar en [[macros/es|macros]] y desde la consola de Python por medio de las siguientes instrucciones:
import FreeCAD, Arch, Draft, Part
</div>
line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
{{Code|code=
wall = Arch.makeWall(line)
addComponents(objectsList, host)
box = Part.makeBox(1,1,1)
}}
Arch.addComponents(box,wall)


<div class="mw-translate-fuzzy">
<languages/>
* Añade los objetos dados como componentes del objeto huesped dado. Utiliza esto por ejemplo para añadir ventanas a un muro, o muros a un piso.
*No retorna nada.
</div>

Ejemplo:
{{Code|code=
import FreeCAD, Arch, Draft, Part

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 2000, 0)

Line = Draft.makeWire([p1, p2])
Wall = Arch.makeWall(Line, width=150, height=2000)

p3 = FreeCAD.Vector(0, 2000, 0)
p4 = FreeCAD.Vector(3000, 0, 0)

Line2 = Draft.makeWire([p3, p4])
Wall2 = Arch.makeWall(Line2, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()

Arch.addComponents(Wall2, Wall)
FreeCAD.ActiveDocument.recompute()
}}
{{docnav|[[Arch_CutPlane|Cut with plane]]|[[Arch_Remove|Remove component]]|[[Arch_Module|Arch]]|IconL=Arch_CutPlane.svg |IconC=Workbench_Arch.svg |IconR=Arch_Remove.svg}}

{{Arch Tools navi}}

{{Userdocnavi}}

Revision as of 22:38, 9 February 2019

Arch Add

Ubicación en el Menú
Arquitectura → Adicción
Entornos de trabajo
Entorno de Arquitectura
Atajo de teclado por defecto
Ninguno
Introducido en versión
-
Ver también
Arch Suprimir

Descripción

La herramienta de adicción te permite realizar cuatro tipos de operaciones:

The counterpart of this tool is the Arch Remove tool.

En la imagen superior, un cubo se añade a un muro.

Utilización

  1. Selecciona el objeto(s) a ser añadido, luego el objeto "huésped" (el objeto huésped debe ser el último que selecciones)
  2. Presiona el botón Añadir

Programación

La herramienta Añadir se puede utilizar en macros y desde la consola de Python por medio de las siguientes instrucciones:

addComponents(objectsList, host)
  • Añade los objetos dados como componentes del objeto huesped dado. Utiliza esto por ejemplo para añadir ventanas a un muro, o muros a un piso.
  • No retorna nada.

Ejemplo:

import FreeCAD, Arch, Draft, Part

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 2000, 0)

Line = Draft.makeWire([p1, p2])
Wall = Arch.makeWall(Line, width=150, height=2000)

p3 = FreeCAD.Vector(0, 2000, 0)
p4 = FreeCAD.Vector(3000, 0, 0)

Line2 = Draft.makeWire([p3, p4])
Wall2 = Arch.makeWall(Line2, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()

Arch.addComponents(Wall2, Wall)
FreeCAD.ActiveDocument.recompute()