Arch Building

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Arch Building and the translation is 19% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎română • ‎svenska • ‎čeština • ‎русский • ‎українська • ‎日本語
Arrow-left.svg Previous: Arch Site.svg Site
Next: Floor Arch Floor.svg Arrow-right.svg

Arch Building.svg Arch Building

Arch → Building
Standard genväg
Introducerad i version
Se även


Byggnad är en speciell typ av FreeCAD group objekt som är tänkt att innehålla en komplett byggnadsenhet. För närvarande är den enda skillnaden att den har en annan ikon.


  1. Optionally, select one or more objects to be included in your new building.
  2. Press the Arch Building.svg Arch Building button, or press the B then U keys.


  • Starting from FreeCAD version 0.18, the Building object is actually a BuildingPart with its DataIFC Type property set to "Building". You can convert any BuildingPart to a Building simply by changing its IFC Type.
  • After creating a building, you can add more objects to it by drag and dropping them in the Tree View or by using the Arch Add.svg Arch Add tool.
  • You can remove objects from a building by drag and dropping them out of it the Tree View or by using the Arch Remove.svg Arch Remove tool.


  • DataBuilding Type: The type of this building, to choose from a list


See also: Arch API and FreeCAD Scripting Basics.

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

Building = makeBuilding(objectslist=None, baseobj=None, name="Building")
  • Creates a Building object from objectslist, which is a list of objects, or baseobj, which is a Shape.


import FreeCAD, Draft, Arch

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseline2 = Draft.makeLine(p1, -1*p2)

Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
Wall2 = Arch.makeWall(baseline2, length=None, width=150, height=1800)

Building = Arch.makeBuilding([Wall1, Wall2])

Site = Arch.makeSite(Building)

Arrow-left.svg Previous: Arch BuildingPart.svg Building Part
Next: Site Arch Site.svg Arrow-right.svg