Adicionar componente

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Arch Add and the translation is 21% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎русский • ‎中文(中国大陆)‎ • ‎日本語

Arch Add.svg Arch Add

Menu location
Arch → Add component
Default shortcut
Introduced in version
See also
Arch Remove


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

The counterpart of this tool is the Arch Remove.svg Arch Remove tool.

Arch Add example.jpg

A box added to a wall as a component.


  1. Select the objects to be added together. The last object selected will be the host Arch object.
  2. Press the Arch Add.svg button, or use ArchArch Add.svg Add from the top menu.


See also: Arch API and FreeCAD Scripting Basics.

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

addComponents(objectsList, host)
The above code snippet adds the given objects in objectsList to the given host object.
Note: objectsList can be a single object or a list of objects.


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)

Arch.addComponents(Wall2, Wall)