|Emplacement du menu|
|Draft → Stretch|
|Raccourci par défaut|
|Introduit dans la version|
The Stretch tool stretches an object by moving some of its selected vertices. The equivalent action is editing the object and moving the points manually to a new position.
Stretching of three wires by enclosing some vertices and moving them to another position
How to use
- Select an object that you wish to stretch.
- Press the button. If no object is selected, you will be invited to select one.
- Click a point on the 3D view, or type a coordinate and press the button.
- Click a second point on the 3D view, or type a coordinate and press the button. The first two points define a selection rectangle. The vertices of the original object enclosed by this rectangle become highlighted.
- Click a third point on the 3D view, or type a coordinate and press the button.
- Click a fourth point on the 3D view, or type a coordinate and press the button. The second pair of points define a line, whose distance and direction will be used to stretch the figure attached to the highlighted points.
- The Stretch tool is designed to work with objects that are comprised of points. By moving only the selected points, the original figure is stretched in the desired direction.
- So far, only Draft Line, Draft Wire, Draft BSpline, Draft BezCurve and Draft Rectangle work with this tool.
- Draft Circles and Draft Polygons are only defined by their centers; the individual edges of those shapes don't have selectable points, and therefore can't be stretched. Performing a stretch operation on them will simply move the object like using .
- Press , or after the first point to constrain the second point on the given axis.
- To enter coordinates manually, simply enter the numbers, then press between each X, Y and Z component.
- Press 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 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 snapping your point to the nearest snap location, independently of the distance. while drawing to force
- Hold constrain your second point horizontally or vertically in relation to the first one. while drawing to
- Press or the button to abort the current command.
There is no programming interface available for the Stretch tool. All it does is change some attributes of the selected Draft objects, like
Height, which results in a stretched shape.
When using the Stretch tool the Python console shows the individual commands that were used to produce the stretching of the shape.