Arch Building/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "==Opcje==")
(Created page with "==Właściwości==")
Line 37: Line 37:
* You can remove objects from a building by drag and dropping them out of it the Tree View or by using the {{Button|[[Image:Arch Remove.svg|16px]] [[Arch Remove|Arch Remove]]}} tool.
* You can remove objects from a building by drag and dropping them out of it the Tree View or by using the {{Button|[[Image:Arch Remove.svg|16px]] [[Arch Remove|Arch Remove]]}} tool.


==Properties==
<span id="Properties"></span>
==Właściwości==


* {{PropertyData|Building Type}}: The type of this building, to choose from a list
* {{PropertyData|Building Type}}: The type of this building, to choose from a list

Revision as of 11:27, 1 April 2024

Architektura: Budynek

Lokalizacja w menu
Architektura → Budynek
Środowisko pracy
Architektura
Domyślny skrót
B U
Wprowadzono w wersji
-
Zobacz także
Część budynku, Teren

Opis

Budynek środowiska Architektura jest specjalnym typem obiektu grupy FreeCAD, szczególnie odpowiednim do reprezentowania całej jednostki budynku. Są one najczęściej używane do organizowania modelu, zawierając obiekty kondygnacji.

Użycie

  1. Opcjonalnie wybierz jeden lub więcej obiektów, które mają być zawarte w nowym budynku.
  2. Naciśnij przycisk Budynek lub naciśnij klawisze B, a następnie U.

Opcje

  • Starting from FreeCAD version 0.18, the Building object is actually a BuildingPart with its DANEIFC 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 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 tool.

Właściwości

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

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")
  • Creates a Building object from objectslist, which is a list of objects, or baseobj, which is a Shape.

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