Arch Add/de: Difference between revisions

From FreeCAD Documentation
(Created page with "==Anwendung==")
(Created page with "# Wähle ein oder mehrere hinzuzufügende Objekte, dann das Zielobjekt. Das Zielobjekt muss das letze ausgewählte Objekt sein. # Drücke den {{KEY|16px...")
Line 15: Line 15:
==Anwendung==
==Anwendung==


# Wähle ein oder mehrere hinzuzufügende Objekte, dann das Zielobjekt. Das Zielobjekt muss das letze ausgewählte Objekt sein.
# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
# Press the {{KEY|[[Image:Arch Add.png|16px]] '''Add'''}} button
# Drücke den {{KEY|[[Image:Arch Add.png|16px]] '''Hinzufügen'''}}-Knopf.


==Scripting==
==Scripting==

Revision as of 00:12, 29 November 2013

Teil hinzufügen

Menüeintrag
Architektur -> Teil hinzufügen
Arbeitsbereich
Arch
Standardtastenkürzel
W A
Eingeführt in Version
-
Siehe auch
Entfernen

Beschreibung

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

In obenstehendem Bild wird ein Quader einer Wand hinzugefügt.

Anwendung

  1. Wähle ein oder mehrere hinzuzufügende Objekte, dann das Zielobjekt. Das Zielobjekt muss das letze ausgewählte Objekt sein.
  2. Drücke den Hinzufügen-Knopf.

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)