FreeCAD-Doc/localwiki/Draft_Scale-pl.html
2018-07-19 18:47:02 -05:00

90 lines
7.2 KiB
HTML

<html><head><title>Draft Scale/pl</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 Scale/pl</h1></div>
<div id="mw-content-text" lang="pl" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Draft_Scale"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Scale.png" class="image"><img alt="Draft Scale.png" src="32px-Draft_Scale.png" width="32" height="32" srcset="/wiki/images/thumb/c/c9/Draft_Scale.png/48px-Draft_Scale.png 1.5x, /wiki/images/c/c9/Draft_Scale.png 2x" /></a> Draft Scale</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Lokalizacja menu
</th></tr>
<tr>
<td class="ctEven">Draft → Scale
</td></tr>
<tr>
<th class="ctOdd">Workbenches
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/pl" title="Draft Module/pl">Draft</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/pl" title="Arch Module/pl">Arch</a>
</td></tr>
<tr>
<th class="ctOdd">Domyślny skrót
</th></tr>
<tr>
<td class="ctEven">S C
</td></tr>
<tr>
<th class="ctOdd">Zobacz także
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Clone/pl" title="Draft Clone/pl">Draft Clone</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_Scale.html"><span class="tocnumber">1</span> <span class="toctext">Draft Scale</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="#Skryptowanie"><span class="tocnumber">5</span> <span class="toctext">Skryptowanie</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>This tool scales selected object(s) around a base point. If no object is selected, you will be invited to select one. It can also be used to mirror objects.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Scale_example.jpg" class="image"><img alt="Draft Scale example.jpg" src="400px-Draft_Scale_example.jpg" width="400" height="277" srcset="/wiki/images/a/ad/Draft_Scale_example.jpg 1.5x" /></a>
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Select objects you wish to scale</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_Scale.png" class="image"><img alt="Draft Scale.png" src="16px-Draft_Scale.png" width="16" height="16" srcset="/wiki/images/thumb/c/c9/Draft_Scale.png/24px-Draft_Scale.png 1.5x, 32px-Draft_Scale.png 2x" /></a> <a href="Draft_Scale.html" title="Draft Scale">Draft Scale</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">S</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">C</span> keys</li>
<li> Click a first point on the 3D view, or type a <a href="Draft_Coordinates.html" title="Draft Coordinates">coordinate</a></li>
<li> Click another point on the 3D view, or type a <a href="Draft_Coordinates.html" title="Draft Coordinates">coordinate</a></li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><li> To enter coordinates manually, simply enter the numbers, then press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ENTER</span> between each X, Y and Z component.</li>
<li> The x, y and z components of the second point define the scale factor. For example, (1,1,1) would do nothing, (2,2,2) would scale 2x in all directions, (-1,1,1) would mirror in x direction.</li>
<li> Pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span> or <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">C</span> or clicking the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><b>Copy</b></span> button will make a copy of the objects, instead of scaling the original. If you keep <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span> pressed after clicking the second point, you will be able to place more copies, until you release the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span> key.</li>
<li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">CTRL</span> while drawing to force <a href="Draft_Snap.html" title="Draft Snap">snapping</a> your point to the nearest snap location, independently of the distance.</li>
<li> Pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SHIFT</span> will lock x and y values together, so the shape is not deformed.</li>
<li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ESC</span> or the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><b>Cancel</b></span> button to abort the current command.</li>
<li> The resulting object is a <a href="Draft_Clone.html" title="Draft Clone">Draft Clone</a>, which allows you to change the scale values after it has been created.</li>
<li> Mirroring objects works by inverting the sign of one of the directions. For example, (-1,1,1) mirrors horizontally (on the X axis), and (1,-1,1) vertically (on the Y axis).</li></ul>
<h2><span class="mw-headline" id="Skryptowanie">Skryptowanie</span></h2>
<p>The Scale tool can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console by using the following function:
</p>
<pre>scale (objects,vector,[center,copy,legacy]) </pre>
<ul><li> Scales the objects contained in objects (that can be a list of objects or an object) of the given scale factors defined by the given vector (in X, Y and Z directions) around the given center.</li>
<li> If legacy is True, direct (old) mode is used, otherwise a parametric copy is made. </li>
<li> If copy is True, the actual objects are not moved, but copies are created instead. </li>
<li> The objects (or their copies) are returned.</li></ul>
<p>Example:
</p>
<pre>import FreeCAD,Draft
Draft.scale(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,2,2)) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Scale/pl&amp;oldid=140106">http://www.freecadweb.org/wiki/index.php?title=Draft_Scale/pl&amp;oldid=140106</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>