Draft Arc 3Points/de: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>


<div class="mw-translate-fuzzy">
{{Docnav/de
{{Docnav/de
|[[Draft_Arc/de|Bogen]]
|[[Draft_Arc/de|Bogen]]
Line 8: Line 9:
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
}}
}}
</div>


<div class="mw-translate-fuzzy">
{{GuiCommand/de
{{GuiCommand/de
|Name=Draft Arc 3Points
|Name=Draft Arc 3Points
Line 18: Line 21:
|SeeAlso=[[Draft_Arc/de|Entwurf Bogen]], [[Draft_Circle/de|Entwurf Kreis]], [[Draft_Ellipse/de|Entwurf Ellipse]]
|SeeAlso=[[Draft_Arc/de|Entwurf Bogen]], [[Draft_Circle/de|Entwurf Kreis]], [[Draft_Ellipse/de|Entwurf Ellipse]]
}}
}}
</div>


==Beschreibung==
==Beschreibung==


<div class="mw-translate-fuzzy">
Das Werkzeug {{Button|[[Image:Draft_Arc_3Points.svg|16px]] [[Draft Arc 3Points/de|Arc 3Points]]}} erzeugt einen Bogen in der aktuellen [[Draft_SelectPlane/de|Arbeitsebene]], durch Eingabe von drei Punkten, die auf dem Umfang liegen; aus diesen drei Punkten werden Mittelpunkt und Radius bestimmt. Es verwendet das [[Draft_Linestyle/de|Entwurf Linienstil]] , das auf dem [[Draft_Tray/de|Entwurf Tray]] gesetzt ist.
Das Werkzeug {{Button|[[Image:Draft_Arc_3Points.svg|16px]] [[Draft Arc 3Points/de|Arc 3Points]]}} erzeugt einen Bogen in der aktuellen [[Draft_SelectPlane/de|Arbeitsebene]], durch Eingabe von drei Punkten, die auf dem Umfang liegen; aus diesen drei Punkten werden Mittelpunkt und Radius bestimmt. Es verwendet das [[Draft_Linestyle/de|Entwurf Linienstil]] , das auf dem [[Draft_Tray/de|Entwurf Tray]] gesetzt ist.
</div>


A Draft Arc is in fact a [[Draft_Circle|Draft Circle]] with a {{PropertyData|First Angle}} that is not the same as its {{PropertyData|Last Angle}}.
Verwende das Werkzeug [[Draft Arc/de| Entwurf Bogen]], um einen Kreisbogen zu erstellen, indem Du den Mittelpunkt, den Radius sowie den Start- und Endwinkel angibst. Um einen elliptischen Bogen zu zeichnen, verwende [[Draft Ellipse/de|Entwurf Ellipse]]. Du kannst einen Kreisbogen auch mit den Werkzeugen [[Draft_BSpline/de|Draft BSpline]], [[Draft_BezCurve/de|Draft BezKurve]], und [[Draft_CubicBezCurve/de|Draft KubiBezKurve]] approximieren.


[[Image:Draft_Arc_3Points_example.png|400px]]
[[Image:Draft_Arc_3Points_example.png|400px]]
<div class="mw-translate-fuzzy">

{{Caption|Bogen definiert durch drei Punkte, die auf einem Umfang liegen}}
{{Caption|Bogen definiert durch drei Punkte, die auf einem Umfang liegen}}
</div>


==Anwendung==
==Anwendung==


See also: [[Draft_Tray|Draft Tray]], [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]].

<div class="mw-translate-fuzzy">
# Drücke die Taste {{Button|[[Image:Draft Arc 3Points.svg|16px]] [[Draft Arc 3Points/de|Draft Arc 3Points]]}} Taste, oder drücke {{KEY|A}} dann {{KEY|T}} Tasten.
# Drücke die Taste {{Button|[[Image:Draft Arc 3Points.svg|16px]] [[Draft Arc 3Points/de|Draft Arc 3Points]]}} Taste, oder drücke {{KEY|A}} dann {{KEY|T}} Tasten.
# Klicke auf einen ersten Punkt in der 3D-Ansicht, oder gib eine [[Draft_Coordinates/de|Koordinate]] and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] [[Draft_AddPoint/de|Punkt hinzufügen]]}} Taste.
# Klicke auf einen ersten Punkt in der 3D-Ansicht, oder gib eine [[Draft_Coordinates/de|Koordinate]] and press the {{Button|[[Image:Draft_AddPoint.svg|16px]] [[Draft_AddPoint/de|Punkt hinzufügen]]}} Taste.
Line 36: Line 46:
# Klicke auf einen dritten Punkt in der 3D-Ansicht, oder gib eine [[Draft_Coordinates/de|Koordinate]] und drücke die {{Button|[[Image:Draft_AddPoint.svg|16px]] [[Draft_AddPoint/de|Punkt hinzufügen]]}} Taste.
# Klicke auf einen dritten Punkt in der 3D-Ansicht, oder gib eine [[Draft_Coordinates/de|Koordinate]] und drücke die {{Button|[[Image:Draft_AddPoint.svg|16px]] [[Draft_AddPoint/de|Punkt hinzufügen]]}} Taste.
# Der Bogen wird erstellt, nachdem der dritte Punkt angegeben wurde.
# Der Bogen wird erstellt, nachdem der dritte Punkt angegeben wurde.
</div>


==Optionen==
==Optionen==


The single character keyboard shortcuts available in the task panel can be changed. See [[Draft_Preferences|Draft Preferences]]. The shortcuts mentioned here are the default shortcuts.
* Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} after one point to constrain the following point on the given axis.

* To enter coordinates manually, simply enter the numbers, then press {{KEY|Enter}} between each X, Y and Z component.
** You can press the {{Button|[[Image:Draft_AddPoint.svg|16px]] [[Draft_AddPoint|add point]]}} button when you have entered the desired values to insert the point.
* To manually enter coordinates enter the X, Y and Z component, and press {{KEY|Enter}} after each. Or you can press the {{Button|[[Image:Draft_AddPoint.svg|16px]] Enter point}} button when you have the desired values. It is advisable to move the pointer out of the [[3D_view|3D view]] before entering coordinates.
* Press {{KEY|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 {{incode|(0, 0, 0)}}.
* Press {{KEY|R}} or click the {{MenuCommand|Relative}} checkbox to toggle relative mode. If relative mode is on, coordinates are relative to the last point, if available, else they are relative to the coordinate system origin.
* Press {{KEY|G}} or click the {{MenuCommand|Global}} checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the [[Draft_SelectPlane|working plane]] coordinate system. {{Version|0.20}}
* Hold {{KEY|Shift}} while drawing to [[Draft_Constrain|constrain]] your next point horizontally or vertically in relation to the previous one.
* Press {{KEY|Esc}} or the {{Button|Close}} button to abort the current command.
* Press {{KEY|Esc}} or the {{Button|Close}} button to abort the command.

==Notes==

* A Draft Arc can be edited with the [[Draft_Edit|Draft Edit]] command.
* If the {{MenuCommand|Edit → Preferences... → Draft → General settings → Draft tools options → Use Part Primitives when available}} option is checked, the command will create a non-editable [[Part_Feature|Part Feature]] instead of a Draft Circle. See [[Draft_Preferences#General_settings|Draft Preferences]].


==Eigenschaften==
==Eigenschaften==


<div class="mw-translate-fuzzy">
Ein Bogenobjekt teilt sich alle Eigenschaften von einem [[Draft Circle/de|Entwurf Kreis]], aber einige Eigenschaften sind nur für den Kreis sinnvoll. Weitere Informationen unter [[Draft Arc/de| Entwurf Bogen]].
Ein Bogenobjekt teilt sich alle Eigenschaften von einem [[Draft Circle/de|Entwurf Kreis]], aber einige Eigenschaften sind nur für den Kreis sinnvoll. Weitere Informationen unter [[Draft Arc/de| Entwurf Bogen]].
</div>


==Skriptsteuerung==
==Skriptsteuerung==


{{Emphasis|See also:}} [[Draft API|Draft API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
See also: [https://www.freecadweb.org/api Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


To create a Draft Arc by 3 points use the {{incode|make_arc_3points}} method of the Draft module:
The Arc by 3 points tool can be used in [[macros|macros]] and from the [[Python_console|Python console]] by using the following function:


{{Code|code=
{{Code|code=
Line 63: Line 81:
* If a {{incode|placement}} is given, the center of the circular arc will be moved to this place. See [[Placement|Placement]] for more information.
* If a {{incode|placement}} is given, the center of the circular arc will be moved to this place. See [[Placement|Placement]] for more information.
* If {{incode|face}} is {{incode|True}}, the arc will make a face, that is, it will appear filled.
* If {{incode|face}} is {{incode|True}}, the arc will make a face, that is, it will appear filled.
* If {{incode|support}} is given, it is a {{incode|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.
* If {{incode|support}} is given, it is a {{incode|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, <code>support=[(obj, ("Face1"))]</code>
: For example: <code>support=[(obj, ("Face1"))]</code>.
* If {{incode|map_mode}} is given, it is a string defining a type of mapping, for example, <code>map_mode='FlatFace'</code>, <code>map_mode='ThreePointsPlane'</code>, etc. See [[Part_Attachment|Part Attachment]] for more information.
* If {{incode|map_mode}} is given, it is a string defining a type of mapping, for example: <code>map_mode='FlatFace'</code>, <code>map_mode='ThreePointsPlane'</code>, etc. See [[Part_Attachment|Part Attachment]] for more information.
* If {{incode|primitive}} is {{incode|True}}, the arc created will be a simple [[Part_Feature|Part Feature]], not a complex Draft object.
* If {{incode|primitive}} is {{incode|True}}, the arc created will be a simple [[Part_Feature|Part Feature]], not a complex Draft object.


Line 72: Line 90:
{{Code|code=
{{Code|code=
import FreeCAD as App
import FreeCAD as App
import Draft
import draftobjects.arc_3points as arc3


doc = App.newDocument()
doc = App.newDocument()

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


arc = arc3.make_arc_3points(points)
arc = Draft.make_arc_3points(points)


doc.recompute()
doc.recompute()
}}
}}


{{Emphasis|Note:}} internally this function still uses {{incode|Draft.makeCircle}}, so the object created is the same as the one created by [[Draft_Circle|Circle]] and [[Draft_Arc|Arc]].


<div class="mw-translate-fuzzy">
{{Docnav/de
{{Docnav/de
|[[Draft_Arc/de|Bogen]]
|[[Draft_Arc/de|Bogen]]
Line 93: Line 112:
|IconC=Workbench_Draft.svg
|IconC=Workbench_Draft.svg
}}
}}
</div>


{{Draft Tools navi{{#translation:}}}}
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 11:16, 4 May 2021

Entwurf Bogen 3Punkte

Menüeintrag
Entwurf → Bogen 3 Punkte
Arbeitsbereich
Entwurf, Arch
Standardtastenkürzel
A T
Eingeführt in Version
0.19
Siehe auch
Entwurf Bogen, Entwurf Kreis, Entwurf Ellipse

Beschreibung

Das Werkzeug Arc 3Points erzeugt einen Bogen 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 Entwurf Tray gesetzt ist.

A Draft Arc is in fact a Draft Circle with a DatenFirst Angle that is not the same as its DatenLast Angle.

Bogen definiert durch drei Punkte, die auf einem Umfang liegen

Anwendung

See also: Draft Tray, Draft Snap and Draft Constrain.

  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

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.

  • To manually enter coordinates enter the X, Y and Z component, and press Enter after each. Or you can press the Enter point button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
  • Press R or click the Relative checkbox to toggle relative mode. If relative mode is on, coordinates are relative to the last point, if available, else they are relative to the coordinate system origin.
  • Press G or click the Global checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system. introduced in version 0.20
  • Press Esc or the Close button to abort the command.

Notes

  • A Draft Arc can be edited with the Draft Edit command.
  • If the Edit → Preferences... → Draft → General settings → Draft tools options → Use Part Primitives when available option is checked, the command will create a non-editable Part Feature instead of a Draft Circle. See Draft Preferences.

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: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft Arc by 3 points use the make_arc_3points method of the Draft module:

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.

Beispiel:

import FreeCAD as App
import Draft

doc = App.newDocument()

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

arc = Draft.make_arc_3points(points)

doc.recompute()