Arch Building/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "==Опции==")
(Updating to match new version of source page)
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/ru
{{Docnav/ru
|[[Arch_BuildingPart/ru|Строительная деталь]]
|[[Arch_BuildingPart/ru|Строительная деталь]]
Line 9: Line 10:
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
}}
}}
</div>


{{GuiCommand/ru
{{GuiCommand/ru
Line 34: Line 36:
* 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==


* {{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
Line 48: Line 50:
* Creates a {{incode|Building}} object from {{incode|objectslist}}, which is a list of objects, or {{incode|baseobj}}, which is a {{incode|Shape}}.
* Creates a {{incode|Building}} object from {{incode|objectslist}}, which is a list of objects, or {{incode|baseobj}}, which is a {{incode|Shape}}.


Пример:
Example:


{{Code|code=
{{Code|code=
Line 67: Line 69:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()
}}
}}



<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Docnav/ru
{{docnav|[[Arch_BuildingPart/ru|Building Part]]|[[Arch_Site/ru|Site]]|[[Arch_Workbench/ru|Arch]]|IconL=Arch_BuildingPart.svg |IconC=Workbench_Arch.svg |IconR=Arch_Site.svg}}
|[[Arch_BuildingPart/ru|Строительная деталь]]
|[[Arch_Site/ru|Местность]]
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]]
|IconL=Arch_BuildingPart.svg
|IconR=Arch_Site.svg
|IconC=Workbench_Arch.svg
}}
</div>
</div>



Revision as of 13:51, 9 March 2022

Здание

Системное название
Arch_Building
Расположение в меню
Arch → Здание
Верстаки
Arch
Быстрые клавиши
B U
Представлено в версии
-
См. также
Строительная деталь, Местность

Описание

Arch Building - это особый тип объекта группы FreeCAD, который особенно подходит для представления целого здания. Они в основном используются для организации вашей модели с помощью объектов floor.

Применение

  1. Optionally, select one or more objects to be included in your new building.
  2. Press the 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 ДанныеIFC 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.

Свойства

  • ДанныеBuilding 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.

Пример:

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