Arch: Remove
Arch Remove |
Menu location |
---|
Arch → Remove |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch Add |
Descriere
Instrumentele de eliminare vă permit să efectuați două tipuri de operații:
- Eliminați o subcomponentă dintr-un obiect Arch, de exemplu, scoateți o cutie adăugată pe un perete, ca în exemplul Arch Add
- Scoateți un obiect bazat pe shape dintr-o componentă Arch, cum ar fi wall sau structure
In imaginea de mai sus, o casetă este extrasă dintr-un perete.
How to use
- Select a subcomponent inside an Arch object, or:
- 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)
- 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)