Draft: Facebinder

From FreeCAD Documentation
Revision as of 11:04, 7 August 2018 by Luc (talk | contribs) (Created page with "== Scripturi ==")

Draft Facebinder

Menu location
Draft → Facebinder
Workbenches
Draft, Arch
Default shortcut
F F
Introduced in version
-
See also
None

Descriere

Facebinderul este un obiect foarte simplu, construit din fațetele selectate ale altor obiecte. Este parametric, puteți modifica obiectul original și actualizările obiectului facebinder în consecință. Acesta poate fi apoi folosit, de exemplu, pentru a face o extrudare dintr-o colecție de fațete de la alte obiecte. O utilizare tipică este în designul arhitectural, pentru a construi un obiect care acoperă mai multe bucăți de pereți. Puteți mișca și roti în jurul fațetei după crearea ei, totul va rămâne legat de fațetele originale.

Cum se folosește

  1. Select faces on objects (use CTRL to select several faces)
  2. Press the Facebinder, button, or press F, F keys

Scripturi

The facebinder tool can be usedin scripts and macros by using the following function:

makeFacebinder ( selectionset )
  • Creates a facebinder object from the given selection set, which is a list of selection objects such as returned by the FreeCADGui.Selection.getSelectionEx() method.
  • Only selected faces are taken into account
  • Returns the newly created object

Example:

import Draft, FreeCADGui
mySelection = FreeCADGui.Selection.getSelectionEx()
Draft.makeFacebinder(mySelection)

Limitations

  • Not available before version 0.14