Draft Facebinder/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "Il peut être utilisé pour créer une extrusion à partir d'une collection de faces provenant d'autres objets. Une utilisation typique est dans la conception architecturale p...")
(Created page with "{{Caption|Faces liées sur un un mur}}")
Line 26: Line 26:


[[Image:Draft facebinder example.jpg|400px]]
[[Image:Draft facebinder example.jpg|400px]]
{{Caption|Facebinder created from the faces of solid walls}}
{{Caption|Faces liées sur un un mur}}


==Utilisation==
==Utilisation==

Revision as of 10:07, 14 September 2019

Faces liées Draft

Emplacement du menu
Draft → Faces liées
Ateliers
Atelier Draft, Atelier Arch
Raccourci par défaut
F F
Introduit dans la version
0.14
Voir aussi
Part Box/fr, Arch Wall/fr

Description

L'outil Faces liées Draft crée un objet de surface à partir des faces sélectionnées d'un objet solide. Il est paramétrique, ce qui signifie que si vous modifiez l'objet d'origine, Faces liées Draft se met à jour en conséquence. Si vous déplacez et faites pivoter le Faces liées Draft, il restera lié aux faces d'origine.

Il peut être utilisé pour créer une extrusion à partir d'une collection de faces provenant d'autres objets. Une utilisation typique est dans la conception architecturale pour construire un objet qui recouvre plusieurs murs, par exemple un papier peint ou une finition murale.

Faces liées sur un un mur

Utilisation

  1. Sélectionnez les faces des objets (utiliser CTRL pour sélectionner plusieurs faces)
  2. Pressez la touche Facebinder, ou pressez les touches F, F

The Facebinder can be edited by double clicking on the element in the tree view. Then you can change the faces that are part of the object.

  • To add a face, click on a face of a solid object in the 3D view, and then click on the Add button.
  • To remove a face, select one of the sub-elements in the list, and then click on the Remove button.
  • Press Esc or the OK button to complete the edition.

Options

This object has no options when it's being created. Only selected faces will be used to create the Facebinder object.

Properties

Data

  • DonnéesExtrusion: specifies an extrusion thickness to apply to all faces of the shape.
  • DonnéesRemove Splitter: if it is true it tries to fuse the internal intersections of the Facebinder when it extruded.
  • DonnéesSew: if it is true it tries to perform a topological sewing operation on the Facebinder when it extruded.

View

  • VuePattern: specifies a Draft Pattern with which to fill the face of the shape. This property only works if VueDisplay Mode is "Flat Lines".
  • VuePattern Size: specifies the size of the Draft Pattern.

Script

L'outil Facebinder peut être utilisé dans une macros en utilisant la fonction suivante :

Facebinder = makeFacebinder(selectionset, name="Facebinder")
  • Crée un objet Facebinder de l'ensemble de la sélection donnée, c'est une liste de sélection d'objets tel que retourné par la méthode FreeCADGui.Selection.getSelectionEx().
  • Seules les faces sélectionnées sont prises en charge
  • Retourne l'objet nouvellement créé

The thickness of the ShapeString can be added by overwriting its Extrusion attribute; the value is entered in millimeters.

The placement of the ShapeString can be changed by overwriting its Placement attribute, or by individually overwriting its Placement.Base and Placement.Rotation attributes.

Exemple:

import FreeCAD, FreeCADGui, Draft

# Insert a solid box
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 2300
Box.Width = 800
Box.Height = 1000

# Pick any two side faces, and then
selection = FreeCADGui.Selection.getSelectionEx()
Facebinder = Draft.makeFacebinder(selection)
Facebinder.Extrusion = 50
FreeCAD.ActiveDocument.recompute()

Facebinder.Placement.Base = FreeCAD.Vector(1000, -1000, 100)
Facebinder.ViewObject.ShapeColor = (0.99, 0.99, 0.4)