|
|
| Menyplacering |
|---|
| Arch → Remove |
| Arbetsbänkar |
| Arch |
| Standard genväg |
| Ingen |
| Introducerad i version |
| - |
| Se även |
| Arch Add/sv |
Beskrivning
Remove verktyget låter dig göra 2 sorters operationer:
- Ta bort en delkomponent från ett Arch objekt, till exempel ta bort en låda som har adderats till en vägg, som i Arch Add exemplet
- Subtrahera en formbaserat objekt från en Arch komponent som en vägg eller struktur
The counterpart of this tool is the Add Component tool.
I bilden ovan, så subtraheras en låda från en vägg
Bruk
- Välj en delkomponent inuti ett Arch objekt, eller:
- välj de objekt som ska subtraheras, och sedan den Arch komponent från vilken de ska subtraheras (arch komponenten måste vara den sista saken du väljer)
- Klicka på
ta bort knappen
Or
- Select objects to be subtracted, the last object selected must the Arch object from which the other objects will be subtracted.
- Press the
Remove Component button, or Modify →
Remove Component from the top menu.
Scripting
See also: Arch API and FreeCAD Scripting Basics.
The Remove tool can be used in macros and from the Python console by using the following function:
removeComponents(objectsList, host=None)
- Removes the given objects in
objectsListfrom their parents. - If a
hostobject is specified, this function will try adding the objects inobjectsListas holes to thehost.
Example:
import FreeCAD, Draft, Arch
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0),FreeCAD.Vector(2000, 2000, 0)])
Wall = Arch.makeWall(Line, width=150, height=3000)
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 900
Box.Width = 450
Box.Height = 2000
FreeCAD.ActiveDocument.recompute()
Draft.rotate(Box, 45)
Draft.move(Box, FreeCAD.Vector(1000, 700, 0))
Arch.removeComponents(Box, Wall)
FreeCAD.ActiveDocument.recompute()
Denna sida hämtas från https://wiki.freecad.org/Arch_Remove