Draft Bogen 3Punkte

From FreeCAD Documentation
Revision as of 13:40, 1 December 2020 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Draft Arc 3Points

Menüeintrag
Draft → Arc 3 points
Arbeitsbereich
Draft, Arch
Standardtastenkürzel
A T
Eingeführt in Version
0.19
Siehe auch
Draft Circle, Draft Ellipse

Beschreibung

Das Werkzeug Arc 3Points erzeugt einen Kreisbogen in der aktuellen Arbeitsebene, durch Eingabe von drei Punkten, die auf dem Umfang liegen; aus diesen drei Punkten werden Mittelpunkt und Radius bestimmt. Es verwendet das Entwurf Linienstil , das auf dem Draft Tray gesetzt ist.

Verwende das Werkzeug Entwurf Bogen, um einen Kreisbogen zu erstellen, inde Du den Mittelpunkt, den Radius sowie den Start- und Endwinkel angibst. Um einen elliptischen Bogen zu zeichnen, verwende Entwurf Ellipse. Du kannst einen Kreisbogen auch mit den Werkzeugen Draft BSpline, Draft BezCurve, und Draft CubicBezCurve approximieren.

Bogen definiert durch drei Punkte, die auf einem Umfang liegen

Anwendung

  1. Drücke die Taste Draft Arc 3Points Taste, oder drücke A} dann T Tasten.
  2. Klicke auf einen ersten Punkt in der 3D-Ansicht, oder gib eine Koordinate and press the Punkt hinzufügen Taste.
  3. Klicke auf einen zweiten Punkt in der 3D-Ansicht, oder gib eine Koordinate und drücke die Punkt hinzufügen Taste.
  4. Klicke auf einen dritten Punkt in der 3D-Ansicht, oder gib eine Koordinate und drücke die Punkt hinzufügen Taste.
  5. Der Bogen wird erstellt, nachdem der dritte Punkt angegeben wurde.

Optionen

  • Press X, Y or Z after one point to constrain the following point on the given axis.
  • To enter coordinates manually, simply enter the numbers, then press Enter between each X, Y and Z component.
    • You can press the add point button when you have entered the desired values to insert the point.
  • Press R or click the checkbox to toggle relative mode. If relative mode is on, the coordinates of the following point are relative to the previous one; if not, they are absolute, taken from the origin (0, 0, 0).
  • Hold Shift while drawing to constrain your next point horizontally or vertically in relation to the previous one.
  • Press Esc or the Close button to abort the current command.

Eigenschaften

Ein Bogenobjekt teilt sich alle Eigenschaften von einem Entwurf Kreis, aber einige Eigenschaften sind nur für den Kreis sinnvoll. Weitere Informationen unter Entwurf Bogen.

Skriptsteuerung

See also: Draft API and FreeCAD Scripting Basics.

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

arc = make_arc_3points(points, placement=None, face=False, support=None, map_mode="Deactivated", primitive=False)
  • Creates an arc object from the given points list.
  • If a placement is given, the center of the circular arc will be moved to this place. See Placement for more information.
  • If face is True, the arc will make a face, that is, it will appear filled.
  • If support is given, it is a LinkSubList, that is, a list indicating an object, and a subelement of that object. This is used so that the object appears referenced to this support.
For example, support=[(obj, ("Face1"))]
  • If map_mode is given, it is a string defining a type of mapping, for example, map_mode='FlatFace', map_mode='ThreePointsPlane', etc. See Part Attachment for more information.
  • If primitive is True, the arc created will be a simple Part Feature, not a complex Draft object.

Example:

import FreeCAD as App
import draftobjects.arc_3points as arc3

doc = App.newDocument()
points = [App.Vector(0, 0, 0),
          App.Vector(5, 10, 0),
          App.Vector(10, 0, 0)]

arc = arc3.make_arc_3points(points)

doc.recompute()

Note: internally this function still uses Draft.makeCircle, so the object created is the same as the one created by Circle and Arc.