Arch Add/ru: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
<div class="mw-translate-fuzzy">
|[[Arch_CutPlane|Cut with plane]]
{{Docnav/ru
|[[Arch_Remove|Remove component]]
|[[Arch_Workbench|Arch]]
|[[Arch_CutLine/ru|CutLine]]
|[[Arch_Remove/ru|Удалить компонент]]
|IconL=Arch_CutPlane.svg
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]]
|IconL=Arch_CutLine.svg
|IconR=Arch_Remove.svg
|IconR=Arch_Remove.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 13: Line 16:
|Name=Arch Add
|Name=Arch Add
|Name/ru=Arch Add
|Name/ru=Arch Add
|Workbenches=[[Arch Module/ru|Arch]]
|MenuLocation=Архитектура → Добавить компонент
|MenuLocation=Архитектура → Добавить компонент
|Workbenches=[[Arch_Workbench/ru|Arch]]
|SeeAlso=[[Arch Remove/ru|Удалить компонент]]
|SeeAlso=[[Arch Remove/ru|Удалить компонент]]
}}
}}
</div>
</div>


<span id="Description"></span>
==Описание==
==Описание==


Line 36: Line 40:
</div>
</div>


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
==Применение==
==Использование==
</div>


# Select the objects to be added together. The last object selected will be the host Arch object.
# Select the objects to be added together. The last object selected will be the host Arch object.
Line 54: Line 57:
: '''Note:''' {{incode|objectsList}} can be a single object or a list of objects.
: '''Note:''' {{incode|objectsList}} can be a single object or a list of objects.


Пример:
Example:


{{Code|code=
{{Code|code=
Line 76: Line 79:
}}
}}



{{Docnav
<div class="mw-translate-fuzzy">
|[[Arch_CutPlane|Cut with plane]]
{{Docnav/ru
|[[Arch_Remove|Remove component]]
|[[Arch_Workbench|Arch]]
|[[Arch_CutLine/ru|CutLine]]
|[[Arch_Remove/ru|Удалить компонент]]
|IconL=Arch_CutPlane.svg
|[[Arch_Workbench/ru|Архитектурный верстак "Arch"]]
|IconL=Arch_CutLine.svg
|IconR=Arch_Remove.svg
|IconR=Arch_Remove.svg
|IconC=Workbench_Arch.svg
|IconC=Workbench_Arch.svg
}}
}}
</div>


{{Arch Tools navi{{#translation:}}}}
{{Arch Tools navi{{#translation:}}}}

{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 14:33, 8 January 2024

Arch Add

Системное название
Arch Add
Расположение в меню
Архитектура → Добавить компонент
Верстаки
Arch
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Удалить компонент

Описание

Инструмент «Добавить» позволяет вам выполнять 4 вида операций:

  • Добавьте объекты shape к компоненту Arch, такие как wall или structures . Эти объекты затем составляют часть компонента Arch и позволяют изменять его форму, но сохраняя ее базовые свойства, такие как ширина и высота
  • Добавьте элементы Arch, такие как walls или structures, в объект арки на основе группы, такой как floors.
  • Добавить axis systems в structural objects
  • Добавить объекты в плоскость section planes

The counterpart of this tool is the Arch Remove tool.

В приведенном выше изображении коробка добавляется к стене.

Применение

  1. Select the objects to be added together. The last object selected will be the host Arch object.
  2. Press the button, or use Arch Add from the top menu.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

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

addComponents(objectsList, host)
The above code snippet adds the given objects in objectsList to the given host object.
Note: objectsList can be a single object or a list of objects.

Пример:

import FreeCAD, Arch, Draft, Part

p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 2000, 0)

Line = Draft.makeWire([p1, p2])
Wall = Arch.makeWall(Line, width=150, height=2000)

p3 = FreeCAD.Vector(0, 2000, 0)
p4 = FreeCAD.Vector(3000, 0, 0)

Line2 = Draft.makeWire([p3, p4])
Wall2 = Arch.makeWall(Line2, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()

Arch.addComponents(Wall2, Wall)
FreeCAD.ActiveDocument.recompute()