Arch Add/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav
{{docnav|[[Arch_CutPlane|Cut with plane]]|[[Arch_Remove|Remove component]]|[[Arch_Module|Arch]]}}
|[[Arch_CutPlane|Cut with plane]]
|[[Arch_Remove|Remove component]]
|[[Arch_Module|Arch]]
|IconL=Arch_CutPlane.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_Remove.svg
}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 14: Line 21:
==Описание==
==Описание==


<div class="mw-translate-fuzzy">
Инструмент «Добавить» позволяет вам выполнять 4 вида операций:
Инструмент «Добавить» позволяет вам выполнять 4 вида операций:
* Добавьте объекты [[Part Module | shape]] к компоненту Arch, такие как [[Arch Wall|wall]] или [[Arch Structure|structures]] . Эти объекты затем составляют часть компонента Arch и позволяют изменять его форму, но сохраняя ее базовые свойства, такие как ширина и высота
* Добавьте объекты [[Part Module | shape]] к компоненту Arch, такие как [[Arch Wall|wall]] или [[Arch Structure|structures]] . Эти объекты затем составляют часть компонента Arch и позволяют изменять его форму, но сохраняя ее базовые свойства, такие как ширина и высота
Line 19: Line 27:
* Добавить [[Arch Axis|axis systems]] в [[Arch Structure|structural objects]]
* Добавить [[Arch Axis|axis systems]] в [[Arch Structure|structural objects]]
* Добавить объекты в плоскость [[Arch SectionPlane|section planes]]
* Добавить объекты в плоскость [[Arch SectionPlane|section planes]]
</div>


The counterpart of this tool is the [[Arch Remove]] tool.
The counterpart of this tool is the {{Button|[[Image:Arch_Remove.svg|16px]] [[Arch Remove|Arch Remove]]}} tool.


[[Image:Arch Add example.jpg|640px]]
[[Image:Arch Add example.jpg|640px]]
Line 27: Line 36:
</div>
</div>


<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.
# Press the {{Button|[[Image:Arch Add.svg|16px]] [[Arch Add|Add]]}} button.
# Press the {{Button|[[Image:Arch Add.svg|16px]]}} button, or use {{KEY|Arch}} → {{KEY|[[Image:Arch Add.svg|16px]] [[Arch Add|Add]]}} from the top menu.


==Scripting==
==Scripting==
Line 36: Line 47:


The Add tool can be used in [[macros]] and from the [[Python]] console by using the following function:
The Add tool can be used in [[macros]] and from the [[Python]] console by using the following function:
{{Code|code=
:{{Code|code=
addComponents(objectsList, host)
addComponents(objectsList, host)
}}
}}


* Adds the given objects in {{incode|objectsList}} to the given {{incode|host}} object.
: The above code snippet adds the given objects in {{incode|objectsList}} to the given {{incode|host}} object.
** {{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:
Example:

{{Code|code=
{{Code|code=
import FreeCAD, Arch, Draft, Part
import FreeCAD, Arch, Draft, Part
Line 63: Line 75:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()
}}
}}
{{docnav|[[Arch_CutPlane|Cut with plane]]|[[Arch_Remove|Remove component]]|[[Arch_Module|Arch]]}}


{{Docnav
<div class="mw-translate-fuzzy">
|[[Arch_CutPlane|Cut with plane]]
[[Category:Arch/ru]]
|[[Arch_Remove|Remove component]]
</div>
|[[Arch_Module|Arch]]
|IconL=Arch_CutPlane.svg
|IconC=Workbench_Arch.svg
|IconR=Arch_Remove.svg
}}

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

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

Revision as of 18:14, 19 February 2020

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.

Example:

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