Arch Add/ru: Difference between revisions
(Created page with "{{GuiCommand/ru |Name=Arch Add |Name/ru=Arch Add |Workbenches=Arch |MenuLocation=Архитектура -> Добавить компонент |SeeAlso=Arch...") |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name=Arch Add |
|Name=Arch Add |
||
Line 6: | Line 7: | ||
|SeeAlso=[[Arch Remove/ru|Удалить компонент]] |
|SeeAlso=[[Arch Remove/ru|Удалить компонент]] |
||
}} |
}} |
||
</div> |
|||
==Description== |
==Description== |
Revision as of 20:37, 14 March 2018
Arch Add |
Системное название |
---|
Arch Add |
Расположение в меню |
Архитектура -> Добавить компонент |
Верстаки |
Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Удалить компонент |
Description
The Add tool allows you to do 4 kinds of operations:
- Add shape-based objects to an Arch component, such as a wall or structure. These objects make then part of the Arch component, and allow you to modify its shape but keeping its base properties such as width and height
- Add Arch components, such as a walls or structures, to a group-based arch object such as floors.
- Add axis systems to structural objects
- Add objects to section planes
In the above image, a box is being added to a wall.
How to use
- Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
- Press the Add button
Scripting
The Add tool can by used in macros and from the python console by using the following function:
addComponents (objectsList,hostObject)
- Adds the given object or the objects from the given list as components to the given host Object. Use this for example to add windows to a wall, or to add walls to a floor.
- Returns nothing.
Example:
import FreeCAD, Arch, Draft, Part
line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
wall = Arch.makeWall(line)
box = Part.makeBox(1,1,1)
Arch.addComponents(box,wall)