|
Localização do menu |
---|
Arch → Floor |
Bancadas de trabalho |
Arch |
Atalho padrão |
F L |
Introduzido na versão |
- |
Veja também |
Arch Building, Arch Site |
O piso "Arch" é um tipo especial de grupo do FreeCAD que tem algumas propriedades adicionais particularmente ajustadas aos piso dos edifícios. Em particular a propriedade altura, que os objetos nele contidos (paredes e estruturas) podem usar para definir a sua própria altura automaticamente. Estes são usados principalmente para organizar o modelo.
As of 0.18 and above the Arch Floor is derived entirely from the Arch BuildingPart object, which is a general container to organize a building model not limited to floors or storeys. Older Floor objects can be converted to the new type by right clicking on them and choosing Convert to BuildingPart
.
An Arch Floor object shares all properties from an Arch BuildingPart, with the DadosIfc Type set to "Building Storey"
.
See also: Arch API and FreeCAD Scripting Basics.
The Floor tool can be used in macros and from the Python console by using the following function:
Floor = makeFloor(objectslist=None, baseobj=None, name="Floor")
Floor
object from objectslist
, which is a list of objects.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()
Floor = Arch.makeFloor([Wall1, Wall2])
Building = Arch.makeBuilding([Floor])
Site = Arch.makeSite(Building)
FreeCAD.ActiveDocument.recompute()