Makro WorkFeatures

From FreeCAD Documentation
This page is a translated version of the page Macro WorkFeatures and the translation is 88% complete.

Macro WorkFeatures

Beschreibung
Werkzeug Hilfsprogramm zum Erstellen von Punkten, Achsen, Ebenen...und andere nützliche Funktionen.

Versionsmakro : 05/2019
Datum der letzten Änderung : 01.05.2019
FreeCAD version : Alle
Herunterladen : Werkzeugleistensymbol
Autor: rentlau_64
Autor
rentlau_64
Herunterladen
Werkzeugleistensymbol
Links
Macro-Version
05/2019
Datum der letzten Änderung
01.05.2019
FreeCAD-Version(s)
Alle
Standardverknüpfung
None
Siehe auch
None

Beschreibung

Werkzeug-Hilfsprogramm zum Erstellen von:

  • Punkten (Mittelpunkte, Kreismittelpunkte, Mittelpunkte von Objekten...),
  • Achsen (aus 2 Punkten, Normalen von Ebenen...),
  • Ebenen (aus 3 Punkten, aus einer Achse und einem Punkt...)
  • Und viele andere nützliche Funktionen, die dir die Erstellung deines Projekts erleichtern. Dieses Hilfsprogramm befindet sich in der Combo-Ansicht mit der Bezeichnung Work Features (Deutsch: ArbeitsFunktionen).

WorkFeatures

Anwendungen

ArbeitsFunktionen


Ursprung Reiter

  • Ursprung Reiter
  • Ursprung : Erzeuge im Ursprung: einen Punkt und eine X, Y und Z Achse sowie XZ, XY und YZ Ebenen. Die Achsen-, Punkt- und Ebenen Ursprünge sind direkt auf ausgeblendet gesetzt.

Punkte Reiter

  • Punkte Reiter
  • Objekt(e) Zentrum: Erzeugt einen Punkt an der Zentrumsposition aller ausgewählten Objekte.
  • Linie(n) Zentrum : Erstelle einen Punkt an der Mittelpunktsposition jeder ausgewählten Linie(n).
  • Line(s) Extrema : Erstelle Punkte am Start- und Endposition jeder ausgewählten Linie(n).
  • Circle(s) Center : Create a Point at center location of each selected Circle(s) or Arc(s).
  • Point along Line : Create a Point on a line at some distance of the extremity point selected.
  • SpinBox : enter the displacement value
  • Face(s) Center : Create a Point at center location of each selected Face(s).
  • Point (Line,Face) : Create a point at the intersection of the Line and Plane selected.
  • Point (Line,Point) : Create a projection Point of a Point onto a Line and symetric point.
  • Point (Point,Face) : Create a projection Point of a Point onto a Face.
  • Object(s) Base Point : Create Base Point of all selected Object(s).


Axis Tab

  • Axis Tab
  • Object(s) X, Y, Z Axes : Create 3 Axes at center location of all selected Object(s).
  • Two Points Axis : Create an Axis crossing 2 Points.
  • SpinBox : enter the displacement value
  • Cylinder(s) Axis : Create the Axis of a Cylinder.
  • Axis (Line,Line) : Create an Axis between 2 Axes.
  • Plane(s) Axes : Create 2 Perpendicular Axes at center location of a Plane.
  • Axis (Point,Axis) : Create an Axis parallel to an Axis and crossing a Point.
  • Axis (Axis,Point) : Create an Axis perpendicular to an Axis and crossing a Point.
  • SpinBox : enter the displacement value
  • Axis (Plane,Axis) : Create an Axis on a Plane by projection from another Axis.
  • Axis (Plane,Plane) : Create an Axis by intersect of 2 Planes.
  • Object(s) Base Axis : Create 3 Axes at Base location of all selected Object(s).

Plane Tab

  • Plane Tab
  • Three Points Plane : Create a Plane crossing 3 Points.
  • Plane (Point, Axis) : Create a plane crossing a Line and a Point. The point MUST not belongs to the Line !
  • Plane (Point, _Axis) : Create a plane perpendicular to a Line and crossing a Point.
  • Plane (Point, Plane) : Create a plane crossing a Point and parallel to a Plane.
  • SpinBox : enter the displacement value
  • Plane (Plane, Axis) : Create a Plane crossing a Line and perpendicular to a Plane.
  • SpinBox : enter the displacement value
  • Object(s) Center Planes : Create 3 Planes (XY, XZ and YZ) at center location of all selected Object(s).

Objects Tab

  • Objects Tab
  • Bounding Box(es) : Create bounding boxes around each of selected object(s).
  • Bounding Box : Create one bounding box around all of selected object(s).
  • Cylinder : First select an Axis and a Point. Define Diameter and Length if needed. Then Click the button... It will create a Cylinder aligned on the selected axis. with one of the extremities at point selected.
  • Cube : First select an Axis and a Point. Define Dimensions if needed. Then Click the button... It will create a Cube aligned on the selected axis. with one of the extremities at point selected.

Views Tab

  • Views Tab
  • Align to ... : Set the current view perpendicular to the selected Face, or aligned to the selected Axis, or aligned on 2 Points. ReClick with same selection, will reverse the direction.

Modif. Tab

  • Modif. Cutting Tab
  • Select Object : After selected your object and, First, one Object to cut and click 'Select Object' button,
    • The name of the object selected are displayed
  • Select Cut Line : Second, one cutting Line and click 'Select Cut Line' button,
    • The name of the line selected are displayed
  • Select Ref. Plane : Last, a reference Plane and click 'Select Ref. Plane' button!
    • The name of the plane selected are displayed
  • Angle : Angle for cut (Defaut : 0.0)
  • Thichness : Thichness the cut (Defaut : 0.0)
  • Reset : Reset the values
  • Apply : Apply the values

Check. Tab

  • Check. Tab
  • are Parallel ? : Check if two faces or two Edges are Parallel:
    • Select the 2 faces/planes or 2 Edges/Lines and Click this button
  • are Perpendicular ? : Check if two faces or two Edges are Perpendicular:
    • Select the 2 faces/planes or 2 Edges/Lines and Click this button
  • are Coplanar ? : Check if two faces or two Edges are Coplanar:
    • Select the 2 faces/planes or 2 Edges/Lines and Click this button
  • Distance Clearance ? : Check for two Objects Clearance distance:
    • Quick measurements between parallel faces and similarly placed objects Select the 2 Objects and Click this button
  • Angle ? : Calculate angle from 2 objects:
    • Angle measurement between two Edges or two Planes
    • Select the 2 Edges and Click this button
    • or : Select the 2 Planes and Click this button
    • or : Select one Edge and one Plane and Click this button
  • Distance ? : Check for two Points distance:
    • Distances measurement and Delta values (on main Axes) between two Points
    • Select the 2 Points and Click this button
  • Length ? : Check for Line Length:
    • Length measurement and Delta values (on main Axes) for a Line
    • Select the Line and Click this button
  • Area ? : Check for surface Area:
    • Area measurement for a Plane or a set of Planes.
    • Select One or several Planes and Click this button
  • View : Detect the position of the camera. The returned value is the value provided by the function getCameraOrientation().

Skript

Nach dem Herunterladen der komprimierten Datei, hier

Werkzeugleistensymbol

Herunterladen der neusten Version auf GitHub , musst du die zip Datei entpacken und alle Dateien in dein Makroverzeichnis kopieren.

PS: Dieses Makro befindet sich noch in der Entwicklung. Bitte besuche diese Seite, um sicher zu sein, dass du die neueste Version hast.


Herunterladen in GitHub klicke auf die Download ZIP Schaltfläche
Herunterladen in GitHub klicke auf die Download ZIP Schaltfläche

Verwende den Addon-Manager Menü → Werkzeuge → Addon-Manager zur einfachen Installation von WorkFeatures und anderen interessanten Makros

Hier geht es zur ausführlichen Anleitung zur Installation von Makros.

Beispiele

Schneidwerkzeuge

Einstellung der Schneidwerkzeuge: Wähle ein zu schneidendes Objekt, eine Schnittlinie und eine Referenzebene. Winkel ist ein Winkel zwischen der Schneidebene und der Referenzebene. Dicke ist die Breite der Schnittebene.

Execute practical example

Konzentrische Beschränkung zwischen zwei nicht zylindrischen Teilen

Wie eine Beschränkung zwischen zwei nicht zylindrischen Teilen herstellen.
1 : Das zu ändernde Originalobjekt.
2 : Zielmitte zweier Vierkantrohre.
3 : Wähle das erste Objekt und klicke im Menü Achse 1/2 auf "Objekt(e)" X, Y, Z Axes.
4 : Gleiche Vorgehensweise für das zweite Objekt.
5 : Klicke auf Schaltfläche Draw style und auf "Wireframe",
6 : zur Verdeutlichung der Ansicht.
7 : Wähle das zu zentrierende Objekt und seine erstellte Achse.
8 : Klicke die Schaltfläche Draft Move
9 : und wähle die erste Achse, die auf der zweiten Achse verschoben werden soll.
10 : Normalansicht mit der Taste Zeichenstil und auf Originalwiederherstellen.
11 : Klicke das erste verschobene Objekt und korrigiere die Position mit "Comboansicht > Daten > Positionierung".
12 : Wähle das von WorkFeature erstellte Objekt (Contener Achse) aus und lösche es.
13 : Das Objekt verschwindet.
14 : Das Ergebnis.


Rotationsobjekt

Ebene auf Flächentangente


Verweise

Die Forumsdiskussion MACRO:Work Feature 2014_12

Externe Arbeitsbereiche

FreeCAD Arbeitsbereiche sind einfach in Python zu programmieren, daher gibt es viele Leute, die zusätzliche Arbeitsbereiche außerhalb der FreeCAD Hauptentwickler entwickeln.

Die Externe Arbeitsbereiche Seite enthält einige Informationen und Tutorien zu einigen von ihnen, und das FreeCAD Erweiterungen Projekt zielt darauf ab, sie zu sammeln und einfach aus FreeCAD heraus zu installieren.

Neue Arbeitsbereiche sind in der Entwicklung, bleib dran!

Neueste Version

Symbole :

Quellen :

Auf github : /github.com/Rentlau/WorkFeature-WB.git

Datum 2019-05-01 (YYYY-MM-DD)

20/01/2019

08/03/2015 : WF_2015_03_08 - Kreisschnitt hinzugefügt - Sind parallel, Sind senkrecht, Sind koplanar hinzugefügt

17/02/2015 : WF_2015_02_17 - Reiter Kreis und Ellipse hinzugefügt - Reiter Schneiden hinzugefügt

25/01/2015 : WF_2015_01_25.zip Objekt Zylinder Würfel hinzugefügt

18/01/2015 : WF_2015_01_18.tar.gz Ebene und Fläche zur Ansicht hinzufügen

28/12/2014 : WorkFeatures_2014_12_28.zip

27/12/2014 : WF_2014_12_27.zip