Arch Add/fr: Difference between revisions

From FreeCAD Documentation
(Created page with " L'outil '''Ajouter''' 16px vous permet de faire 2 types d'opérations : * Ajouter un objet de base à un compososant '''Arch'''itect...")
(Created page with "Dans l'image ci-dessus, une boîte est ajoutée à une paroi.")
Line 11: Line 11:
[[Image:Arch Add example.jpg]]
[[Image:Arch Add example.jpg]]


Dans l'image ci-dessus, une boîte est ajoutée à une paroi.
In the above image, a box is being added to a wall.


==How to use==
==How to use==

Revision as of 00:18, 29 November 2013

Arch Addition

Emplacement du menu
Arch -> Add
Ateliers
Arch
Raccourci par défaut
Aucun
Introduit dans la version
-
Voir aussi
Arch Remove

Description

L'outil Ajouter vous permet de faire 2 types d'opérations :

  • Ajouter un objet de base à un compososant Architecture, par exemple un mur ou une structure .

Ces objets font alors partie des composants d'Architecture, et vous permettent de modifier sa forme, mais en gardant ses propriétés de base telles que la largeur et la hauteur.

Dans l'image ci-dessus, une boîte est ajoutée à une paroi.

How to use

  1. Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
  2. Press the Add button

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)