Draft Stretch/de: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 30: Line 30:
</div>
</div>


[[Image:Draft_Stretch_Example.jpg|400px]]
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{Caption|Strecken von drei Drähten durch Einschließen einiger Knoten und Verschieben auf eine andere Position.}}
Das Streck-Werkzeug funktioniert für Objekte wie [[Draft Wire]]s und [[Draft BSpline]]s, die durch viele Punkte definiert sind.
</div>
</div>

[[Image:Draft_Stretch_Example.jpg|400px]]
{{Caption|Strecken von drei Drähten durch Einschließen einiger Knoten und Verschieben auf eine andere Position.}}


==Anwendung==
==Anwendung==


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

<div class="mw-translate-fuzzy">
# Wähle ein Objekt aus, das Du dehnen möchtest.
# Wähle ein Objekt aus, das Du dehnen möchtest.
# Drücke die Taste {{Button|[[Bild:Draft Stretch.svg|16px]] [[Draft Stretch]]}}. Wenn kein Objekt ausgewählt ist, wirst Du aufgefordert, eines auszuwählen.
# Drücke die Taste {{Button|[[Bild:Draft Stretch.svg|16px]] [[Draft Stretch]]}}. Wenn kein Objekt ausgewählt ist, wirst Du aufgefordert, eines auszuwählen.
Line 45: 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.
# Klicke auf einen vierten 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. Das zweite Punktpaar definiert eine Linie, deren Abstand und Richtung verwendet wird, um die an den markierten Punkten angebrachte Figur zu strecken.
# Klicke auf einen vierten 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. Das zweite Punktpaar definiert eine Linie, deren Abstand und Richtung verwendet wird, um die an den markierten Punkten angebrachte Figur zu strecken.

==Notes==

<div class="mw-translate-fuzzy">
==Hinweise==
* Das Streckwerkzeug ist für die Arbeit mit Objekten konzipiert, die aus Punkten bestehen. Wenn du nur die ausgewählten Punkte bewegst, wird die ursprüngliche Figur in die gewünschte Richtung gestreckt.
* Bisher arbeiten nur [[Draft Line]], [[Draft Wire]], [[Draft BSpline]], [[Draft BezCurve]] und [[Draft Rectangle]] mit diesem Werkzeug.
* [[Draft Circle]]s und [[Draft Polygon]]s werden nur durch ihre Mittelpunkte definiert; die einzelnen Kanten dieser Formen haben keine wählbaren Punkte und können daher nicht gedehnt werden. Wenn du eine Streckoperation an ihnen durchführst, wird das Objekt einfach wie mit {{Button|[[Image:Draft Move.svg|16px]] [[Draft Move]]}} bewegt.
</div>
</div>


==Optionen==
==Optionen==


The single character keyboard shortcuts mentioned here can be changed. See [[Draft_Preferences|Draft Preferences]].
* Press {{KEY|X}}, {{KEY|Y}} or {{KEY|Z}} after the first point to constrain the second point on the given axis.
* To enter coordinates manually, simply enter the numbers, then press {{KEY|Enter}} between each X, Y and Z component.
* Press {{KEY|R}} or click the checkbox to toggle ''relative'' mode. If relative mode is on, the coordinates of the second point are relative to the first one; if not, they are absolute, taken from the origin (0,0,0).
* Press {{KEY|T}} or click the checkbox to toggle ''continue'' mode. If continue mode is on, the Stretch tool will restart after you give the final point, allowing you to repeat the operation without pressing the tool button again.
* Hold {{KEY|Ctrl}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance.
* Hold {{KEY|Shift}} while drawing to [[Draft_Constrain|constrain]] your second point horizontally or vertically in relation to the first one.
* Press {{KEY|Esc}} or the {{Button|Close}} button to abort the current command.


* 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.
==Scripting==
* Press {{KEY|R}} or click the {{MenuCommand|Relative}} checkbox to toggle relative mode. If relative mode is on, the coordinates of the second point of the displacement are relative to the first point, 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}}
* The {{MenuCommand|Filled}} checkbox has no purpose for this command.
* The {{MenuCommand|Continue}} checkbox has no purpose for this command.
* Press {{KEY|Esc}} or the {{Button|Close}} button to abort the command.


==Preferences==
See also: [https://www.freecadweb.org/api Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].

See also: [[Preferences_Editor|Preferences Editor]] and [[Draft_Preferences|Draft Preferences]].

* To change the number of decimals used for the input of coordinates: {{MenuCommand|Edit → Preferences... → General → Units → Units settings → Number of decimals}}.

==Scripting==


See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].
There is no programming interface available for the Stretch tool. All it does is change some attributes of the selected Draft objects, like {{incode|Placement}}, {{incode|Points}}, {{incode|Length}}, or {{incode|Height}}, which results in a stretched shape.


There is no Python method to stretch objects. To emulate the results of the Draft Stretch command geometric properties of objects have to be modified.
When using the Stretch tool the [[Python|Python]] console shows the individual commands that were used to produce the stretching of the shape.





Revision as of 08:14, 16 June 2021

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.

Entwurf Strecken

Menüeintrag
Entwurf → Strecken
Arbeitsbereich
Entwurf, Arch
Standardtastenkürzel
Keiner
Eingeführt in Version
0.17
Siehe auch
Versatz, Skalieren

Beschreibung

Das Werkzeug Strecken streckt ein Objekt, indem es einige seiner ausgewählten Eckpunkte bewegt. Die entsprechende Aktion besteht darin, das Objekt zu bearbeiten und die Punkte manuell an eine neue Position zu verschieben.

Strecken von drei Drähten durch Einschließen einiger Knoten und Verschieben auf eine andere Position.

Anwendung

See also: Draft Snap and Draft Constrain.

  1. Wähle ein Objekt aus, das Du dehnen möchtest.
  2. Drücke die Taste 16px Draft Stretch. Wenn kein Objekt ausgewählt ist, wirst Du aufgefordert, eines auszuwählen.
  3. Klicke auf einen Punkt in der 3D Ansicht, oder gib eine Koordinate ein und drücke die Taste Punkt hinzufügen .
  4. Klicke auf einen zweiten Punkt in der 3D Ansicht, oder gib eine Koordinate and drücke die Punkt hinzufügen Taste. Die ersten beiden Punkte definieren ein Auswahlrechteck. Die von diesem Rechteck eingeschlossenen Eckpunkte des ursprünglichen Objekts werden hervorgehoben.
  5. Klicke auf einen dritten Punkt in der 3D Ansicht, oder gib eine Koordinate und drücke die Punkt hinzufügen Taste.
  6. Klicke auf einen vierten Punkt in der 3D Ansicht, oder gib eine Koordinate und drücke die Punkt hinzufügen Taste. Das zweite Punktpaar definiert eine Linie, deren Abstand und Richtung verwendet wird, um die an den markierten Punkten angebrachte Figur zu strecken.

Optionen

The single character keyboard shortcuts mentioned here can be changed. See Draft Preferences.

  • 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, the coordinates of the second point of the displacement are relative to the first point, 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
  • The Filled checkbox has no purpose for this command.
  • The Continue checkbox has no purpose for this command.
  • Press Esc or the Close button to abort the command.

Preferences

See also: Preferences Editor and Draft Preferences.

  • To change the number of decimals used for the input of coordinates: Edit → Preferences... → General → Units → Units settings → Number of decimals.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

There is no Python method to stretch objects. To emulate the results of the Draft Stretch command geometric properties of objects have to be modified.