78 lines
4.8 KiB
HTML
78 lines
4.8 KiB
HTML
<html><head><title>Draft Stretch</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Draft Stretch</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Draft_Stretch"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Stretch.png" class="image"><img alt="Draft Stretch.png" src="32px-Draft_Stretch.png" width="32" height="32" srcset="/wiki/images/thumb/7/7b/Draft_Stretch.png/48px-Draft_Stretch.png 1.5x, /wiki/images/7/7b/Draft_Stretch.png 2x" /></a> Draft Stretch</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Menu location
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Draft → Stretch
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Workbenches
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="Draft_Module.html" title="Draft Module">Draft</a>, <a href="Arch_Module.html" title="Arch Module">Arch</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Default shortcut
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">None
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">See also
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="Draft_Offset.html" title="Draft Offset">Draft Offset</a>
|
|
</td></tr>
|
|
<tr>
|
|
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
|
<ul>
|
|
<li class="toclevel-1"><a href="#Draft_Stretch"><span class="tocnumber">1</span> <span class="toctext">Draft Stretch</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#How_to_use"><span class="tocnumber">3</span> <span class="toctext">How to use</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Scripting"><span class="tocnumber">5</span> <span class="toctext">Scripting</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>This tool allows to stretch an object by moving some of its vertices.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Stretch_Example.jpg" class="image"><img alt="Draft Stretch Example.jpg" src="Draft_Stretch_Example.jpg" width="741" height="629" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
|
|
<ol><li> Select objects you wish to stretch</li>
|
|
<li> Press the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Stretch.png" class="image"><img alt="Draft Stretch.png" src="16px-Draft_Stretch.png" width="16" height="16" srcset="/wiki/images/thumb/7/7b/Draft_Stretch.png/24px-Draft_Stretch.png 1.5x, 32px-Draft_Stretch.png 2x" /></a> <a class="mw-selflink selflink">Draft Stretch</a></span> button</li>
|
|
<li> Pick the first corner of a selection rectangle</li>
|
|
<li> Pick the opposite corner of the selection rectangle. The selected vertices get highlighted</li>
|
|
<li> Pick the first point of the displacement you wish to give to these vertices </li>
|
|
<li> Pick the end point of the displacement</li></ol>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<ul><li> If no object is selected when starting the command, you will be invited to pick one. But to work on more than one object, you need to have them selected before starting the command.</li>
|
|
<li> So far, only <a href="Draft_Wire.html" title="Draft Wire">Draft Wire</a>, <a href="Draft_Line.html" title="Draft Line">Draft Line</a>, <a href="Draft_BSpline.html" title="Draft BSpline">Draft BSpline</a>, <a href="Draft_BezCurve.html" title="Draft BezCurve">Draft BezCurve</a> and <a href="Draft_Rectangle.html" title="Draft Rectangle">Draft Rectangle</a> objects will have their individual vertices stretched. All other objects will have their origin point moved if it is inside the selection rectangle.</li></ul>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>The Stretch tool has no direct python function because all it does is modify properties of the selected objects, such as the Placement or Points properties of Draft objects. By looking at the python output when using the stretch tool, it is easy to reproduce its working manually.
|
|
</p><p><br />
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Stretch&oldid=217410">http://www.freecadweb.org/wiki/index.php?title=Draft_Stretch&oldid=217410</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |