Arch Add/es: Difference between revisions

From FreeCAD Documentation
mNo edit summary
(Updating to match new version of source page)
Line 1: Line 1:
{{GuiCommand/es|Name=Arch Add|Workbenches=[[Arch Module/es|Entorno de Arquitectura]]|MenuLocation=Arquitectura -> Adicción|SeeAlso=[[Arch Remove/es|Arch Suprimir]]}}
{{GuiCommand|Name=Arch Add|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Add|SeeAlso=[[Arch Remove]]}}
==Description==


The Add tool allows you to do 4 kinds of operations:
==Descripción==
* 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]].
La herramienta de adicción te permite realizar cuatro tipos de operaciones:
* Add [[Arch Axis|axis systems]] to [[Arch Structure|structural objects]]
* 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.
* Add objects to [[Arch SectionPlane|section planes]]
* 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]]


[[Image:Arch Add example.jpg]]
[[Image:Arch Add example.jpg]]


En la imagen superior, un cubo se añade a un muro.
In the above image, a box is being added to a wall.

====Utilización====


==How to use==
# 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'''


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


==Scripting==
La herramienta Añadir se puede utilizar en [[macros/es|macros]] y desde la consola de Python por medio de las siguientes instrucciones:
'''addComponents (objectsList,hostObject)''': 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.


The Add tool can by used in [[macros]] and from the python console by using the following function:
Ejemplo:
'''addComponents (objectsList,hostObject)''':
* 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.


Example:
import FreeCAD, Arch, Draft, Part
import FreeCAD, Arch, Draft, Part
line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
Line 32: Line 31:
Arch.addComponents(box,wall)
Arch.addComponents(box,wall)


<languages/>
{{languages/es | {{en|Arch_Add}} {{de|Arch_Add/de}} {{fr|Arch_Add/fr}} {{it|Arch_Add/it}} {{jp|Arch_Add/jp}} {{se|Arch_Add/se}} }}

Revision as of 00:07, 29 November 2013

Arch Add

Menu location
Arch -> Add
Workbenches
Arch
Default shortcut
None
Introduced in version
-
See also
Arch Remove

Description

The Add tool allows you to do 4 kinds of operations:

In the above image, a box is being added to a wall.

How to use

  1. Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
  2. Press the Add button

Scripting

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

addComponents (objectsList,hostObject): 
  • 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.

Example:

import FreeCAD, Arch, Draft, Part
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)