Arch Add/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "'' В приведенном выше изображении коробка добавляется к стене. ''")
(Created page with "==Использование==")
Line 20: Line 20:
'' В приведенном выше изображении коробка добавляется к стене. ''
'' В приведенном выше изображении коробка добавляется к стене. ''


==Использование==
==How to use==


# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)

Revision as of 11:29, 29 November 2018

Arch Add

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

Описание

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

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

Использование

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