Draft Facebinder/de: Difference between revisions

From FreeCAD Documentation
(Created page with "Er kann verwendet werden, um eine Extrusion aus einer Sammlung von Flächen aus anderen Objekten zu erstellen. Eine typische Anwendung ist im Architektur Design, um ein Objekt...")
(Created page with "{{Caption|Flächenverbund der aus den Flächen von Massivwänden entsteht.}}")
Line 18: Line 18:


[[Image:Draft facebinder example.jpg|400px]]
[[Image:Draft facebinder example.jpg|400px]]
{{Caption|Facebinder created from the faces of solid walls}}
{{Caption|Flächenverbund der aus den Flächen von Massivwänden entsteht.}}


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

Revision as of 22:05, 19 November 2019

Draft Facebinder/de

Menüeintrag
Draft → Facebinder
Arbeitsbereich
Draft, Arch
Standardtastenkürzel
F F
Eingeführt in Version
-
Siehe auch
Keiner

Beschreibung

Das Flächenverbund Werkzeug erstellt ein Oberflächenobjekt aus den ausgewählten Flächen eines festen Objekts. Es ist parametrisch, d.h. wenn Sie das Originalobjekt ändern, aktualisiert sich der Flächenverbund entsprechend. Wenn Sie den Flächenverbund bewegen und drehen, bleibt er mit den Originalflächen verbunden.

Er kann verwendet werden, um eine Extrusion aus einer Sammlung von Flächen aus anderen Objekten zu erstellen. Eine typische Anwendung ist im Architektur Design, um ein Objekt zu bauen, das mehrere Wände bedeckt, z.B. eine Tapete oder ein Wandabschluss.

Flächenverbund der aus den Flächen von Massivwänden entsteht.

How to use

  1. Pick one face, or hold Ctrl and pick several faces, from solid objects.
  2. Press the Facebinder button, or press F then F keys.

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

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

View

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

Scripting

See also: Draft API and FreeCAD Scripting Basics.

The Facebinder tool can be used in macros and from the Python console by using the following function:

Facebinder = makeFacebinder(selectionset)
  • Creates a Facebinder object from the given selectionset, which is a list of SelectionObjects as returned by FreeCADGui.Selection.getSelectionEx(). Only selected faces are taken into account.
    • selectionset can also be a PropertyLinkSubList.

A PropertyLinkSubList is a list of tuples; each tuple contains as first element an object, and as second element a list (or tuple) of strings; these strings indicate the names of the sub-elements (faces) of that object.

PropertyLinkSubList = [tuple1, tuple2, tuple3, ...]
PropertyLinkSubList = [(object1, list1), (object2, list2), (object3, list3), ...]
PropertyLinkSubList = [(object1, ['Face1', 'Face4', 'Face6']), ...]
PropertyLinkSubList = [(object1, ('Face1', 'Face4', 'Face6')), ...]

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

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

Example:

import FreeCAD
import FreeCADGui
import Draft

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

# selection = FreeCADGui.Selection.getSelectionEx()
selection = [(Box, ("Face1", "Face6"))]
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)