Arch Building/sv

Arch Building

Menyplacering
Arch → Building
Arbetsbänkar
Arch
Standard genväg
B U
Introducerad i version
-
Se även
Ingen

Beskrivning

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.

Usage

  1. Optionally, select one or more objects to be included in the new building.
  2. There are several ways to invoke the tool:
    • Press the Building button.
    • Select the 3D/BIM → Building option from the menu.
    • Use the keyboard shortcut: B then U.

Options

Properties

Scripting

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

Example:

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)
FreeCAD.ActiveDocument.recompute()

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

Site = Arch.makeSite(Building)
FreeCAD.ActiveDocument.recompute()