Arch Remove/fr: Difference between revisions
Renatorivo (talk | contribs) (Created page with "L'outil '''Supprimer''' 16px vous permet de faire 2 types d'opérations: * Supprimer une portion d'un objet '''Arch''', par exemple supprimer une bo...") |
Renatorivo (talk | contribs) (Created page with "Dans l'image ci-dessus, une boîte est soustraite d'une paroi.") |
||
Line 10: | Line 10: | ||
[[Image:Arch Remove example.jpg|600px]] |
[[Image:Arch Remove example.jpg|600px]] |
||
Dans l'image ci-dessus, une boîte est soustraite d'une paroi. |
|||
In the above image, a box is being subtracted from a wall |
|||
==How to use== |
==How to use== |
Revision as of 08:57, 29 November 2013
Arch Soustraire |
Emplacement du menu |
---|
Arch -> Remove |
Ateliers |
Arch |
Raccourci par défaut |
Aucun |
Introduit dans la version |
- |
Voir aussi |
Arch Ajout |
Description
L'outil Supprimer vous permet de faire 2 types d'opérations:
- Supprimer une portion d'un objet Arch, par exemple supprimer une boîte qui a été ajoutée à un mur , comme dans l'exemple Arch ajouter .
- Soustraire une forme (shape) d'un objet de base, à partir d'une composante Arch tel qu'un mur ou, une structure .
Dans l'image ci-dessus, une boîte est soustraite d'une paroi.
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)