Arch Remove/es: Difference between revisions

From FreeCAD Documentation
(Created page with "==Utilización==")
(Created page with "# Selecciona un subcomponente de un objeto de Arquitectura, '''o''': # Selecciona objeto(s) a ser sustraídos, y luego el componente de Arquitectura del cual se desean sustrae...")
Line 13: Line 13:
==Utilización==
==Utilización==


# Select a subcomponent inside an Arch object, '''or''':
# Selecciona un subcomponente de un objeto de Arquitectura, '''o''':
# Selecciona objeto(s) a ser sustraídos, y luego el componente de Arquitectura del cual se desean sustraer (el componente de Arquitectura debe ser el último que selecciones)
# Select object(s) to be subtracted, then the Arch component from which they must be subtracted (the arch component must be the last thing you selected)
# Press the {{KEY|[[Image:Arch Remove.png|16px]] '''Remove'''}} button
# Presiona el botón [[Image:Arch Remove.png|16px]] '''Sustraer'''


==Scripting==
==Scripting==

Revision as of 16:44, 29 November 2013

Arch Remove

Ubicación en el Menú
Arquitectura -> Sustraer
Entornos de trabajo
Entorno de Arquitectura
Atajo de teclado por defecto
Ninguno
Introducido en versión
-
Ver también
Añadir

Descripción

La herramienta Sustraer te permite hacer dos tipos de operaciones:

  • Eliminar un subcomponente de un objeto de Arquitectura, por ejemplo eliminar un cubo que se ha añadido a un muro, como en el ejemplo de Añadir
  • Restar un objeto basado en formas de un objeto de Arquitectura como un muro o estructura

En la imagen superior, un cubo es sustraído de un muro

Utilización

  1. Selecciona un subcomponente de un objeto de Arquitectura, o:
  2. Selecciona objeto(s) a ser sustraídos, y luego el componente de Arquitectura del cual se desean sustraer (el componente de Arquitectura debe ser el último que selecciones)
  3. Presiona el botón Sustraer

Scripting

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

removeComponents (objectsList,[hostObject])
  • removes the given component or the components from the given list from their parents. If a host object is specified, this function will try adding the components as holes to the host object instead.

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)
 Arch.removeComponents(box)