Arch Entfernen

From FreeCAD Documentation
Revision as of 09:04, 29 November 2013 by Renatorivo (talk | contribs) (Created page with "==Anwendung==")

Komponente Entfernen

Menüeintrag
Architektur -> Komponente entfernen
Arbeitsbereich
Arch
Standardtastenkürzel
Keiner
Eingeführt in Version
-
Siehe auch
Teil Hinzufügen

Beschreibung

Das Entfernen-Werkzeug erlaubt zwei Arten von Operationen:

  • Entfernen einer Subkomponente von einem Architekturobjekt, z.B. das Entfernen des Quaders,welcher im Teil Hinzufügen-Beispiel einer Wand hinzugefügt wurde;
  • Subtrahieren eines Primitiven-basierten Objektes von einer Architekturkomponente wie z.B. einer Wand oder einem Bauelement.

Im obigen Bild wird ein Quader von einer Wand subtrahiert.

Anwendung

  1. Select a subcomponent inside an Arch object, or:
  2. Select object(s) to be subtracted, then the Arch component from which they must be subtracted (the arch component must be the last thing you selected)
  3. Press the Remove button

Scripting

The Remove tool can by used in macros and from the python console by using the following function:

removeComponents (objectsList,[hostObject])
  • removes the given component or the components from the given list from their parents. If a host object is specified, this function will try adding the components as holes to the host object instead.

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)
 Arch.removeComponents(box)