Arch Add/es: Difference between revisions

From FreeCAD Documentation
(Created page with "{{GuiCommand/es|Name=Arch Add|Workbenches=Entorno de Arquitectura|MenuLocation=Arquitectura -> Adicción|SeeAlso=Arch Suprimir}}")
(Updating to match new version of source page)
(36 intermediate revisions by 6 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
|IconR=Arch_Remove.svg
|IconC=Workbench_Arch.svg
}}


<div class="mw-translate-fuzzy">
==Description==
{{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==
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]]


<div class="mw-translate-fuzzy">
[[Image:Arch Add example.jpg]]


La herramienta de adicción te permite realizar cuatro tipos de operaciones:
In the above image, a box is being added to a wall.
* 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]]
</div>


The counterpart of this tool is the {{Button|[[Image:Arch_Remove.svg|16px]] [[Arch Remove|Arch Remove]]}} tool.
==How to use==


[[Image:Arch Add example.jpg|640px]]
# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
<div class="mw-translate-fuzzy">
# Press the {{KEY|[[Image:Arch Add.png|16px]] '''Add'''}} button
''En la imagen superior, un cubo se añade a un muro.''
</div>


<div class="mw-translate-fuzzy">
==Scripting==
==Utilización==
</div>


<div class="mw-translate-fuzzy">
The Add tool can by used in [[macros]] and from the python console by using the following function:
# Selecciona el objeto(s) a ser añadido, luego el objeto "huésped" (el objeto huésped debe ser el último que selecciones)
'''addComponents (objectsList,hostObject)''':
# Presiona el botón [[Image:Arch Add.png|16px]] '''Añadir'''
* 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.
</div>
* Returns nothing.


<div class="mw-translate-fuzzy">
Example:
==Programación==
import FreeCAD, Arch, Draft, Part
</div>
line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
wall = Arch.makeWall(line)
box = Part.makeBox(1,1,1)
Arch.addComponents(box,wall)


<div class="mw-translate-fuzzy">
<languages/>
La herramienta Añadir se puede utilizar en [[macros/es|macros]] y desde la consola de Python por medio de las siguientes instrucciones:
</div>
:{{Code|code=
addComponents(objectsList, host)
}}

<div class="mw-translate-fuzzy">
* 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
|IconR=Arch_Remove.svg
|IconC=Workbench_Arch.svg
}}

{{Arch Tools navi{{#translation:}}}}

{{Userdocnavi{{#translation:}}}}

Revision as of 12:30, 1 December 2020

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()