Arch: Add/Добавлять

From FreeCAD Documentation
Revision as of 05:59, 12 August 2016 by Baritone (talk | contribs) (Created page with "{{GuiCommand/ru |Name=Arch Add |Name/ru=Arch Add |Workbenches=Arch |MenuLocation=Архитектура -> Добавить компонент |SeeAlso=Arch...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Arch Add.svg Arch Add

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


Description

The Add tool allows you to do 4 kinds of operations:

Arch Add example.jpg

In the above image, a box is being added to a wall.

How to use

  1. Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
  2. Press the Arch Add.png 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)
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎română • ‎svenska • ‎čeština • ‎русский • ‎中文(中国大陆)‎ • ‎日本語