127 lines
13 KiB
HTML
127 lines
13 KiB
HTML
<html><head><title>Draft Move/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 Move/pl</h1></div>
|
|
|
|
<div id="mw-content-text" lang="pl" dir="ltr" class="mw-content-ltr"><hr/>
|
|
<div class="mw-parser-output"><div class="mw-translate-fuzzy">
|
|
<table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Draft_Move"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Move.png" class="image"><img alt="Draft Move.png" src="32px-Draft_Move.png" width="32" height="32" srcset="/wiki/images/thumb/c/c5/Draft_Move.png/48px-Draft_Move.png 1.5x, /wiki/images/c/c5/Draft_Move.png 2x" /></a> Draft Move</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Lokalizacja menu
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Draft -> Move
|
|
</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">M V
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Zobacz także
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">żaden
|
|
</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_Move.html"><span class="tocnumber">1</span> <span class="toctext">Draft Move</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="#Snapping.2C_Constraining.2C_and_more"><span class="tocnumber">4</span> <span class="toctext">Snapping, Constraining, and more</span></a>
|
|
<ul>
|
|
<li class="toclevel-2 tocsection-4"><a href="#Preferences"><span class="tocnumber">4.1</span> <span class="toctext">Preferences</span></a></li>
|
|
<li class="toclevel-2 tocsection-5"><a href="#Moving_along_a_specific_axis"><span class="tocnumber">4.2</span> <span class="toctext">Moving along a specific axis</span></a></li>
|
|
<li class="toclevel-2 tocsection-6"><a href="#Snapping"><span class="tocnumber">4.3</span> <span class="toctext">Snapping</span></a></li>
|
|
<li class="toclevel-2 tocsection-7"><a href="#Alt_Mode"><span class="tocnumber">4.4</span> <span class="toctext">Alt Mode</span></a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toclevel-1 tocsection-8"><a href="#Options"><span class="tocnumber">5</span> <span class="toctext">Options</span></a></li>
|
|
<li class="toclevel-1 tocsection-9"><a href="#Scripting"><span class="tocnumber">6</span> <span class="toctext">Scripting</span></a></li>
|
|
<li class="toclevel-1 tocsection-10"><a href="#Limitations"><span class="tocnumber">7</span> <span class="toctext">Limitations</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
</div>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>The Move tool moves or copies the selected objects from one point to another on the current <a href="Draft_SelectPlane.html" title="Draft SelectPlane">work plane</a>. If no object is selected, you will be invited to select one.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Move_example.jpg" class="image"><img alt="Draft Move example.jpg" src="400px-Draft_Move_example.jpg" width="400" height="232" srcset="/wiki/images/thumb/0/04/Draft_Move_example.jpg/600px-Draft_Move_example.jpg 1.5x, /wiki/images/0/04/Draft_Move_example.jpg 2x" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
|
|
<ol><li> Select objects you wish to move or copy</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_Move.png" class="image"><img alt="Draft Move.png" src="16px-Draft_Move.png" width="16" height="16" srcset="/wiki/images/thumb/c/c5/Draft_Move.png/24px-Draft_Move.png 1.5x, 32px-Draft_Move.png 2x" /></a> <a href="Draft_Move.html" title="Draft Move">Draft Move</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">M</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">V</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="Snapping.2C_Constraining.2C_and_more">Snapping, Constraining, and more</span></h2>
|
|
<h3><span class="mw-headline" id="Preferences">Preferences</span></h3>
|
|
<p>Moving object around in 3D can be dreadful, and is most likely <b>not</b> what you want. FreeCAD comes with a lot more power to move object around, but first you must check your preferences to see how to activate those commands.
|
|
</p><p>Go to <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Edit</span> -> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Preferences</span> -> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">DRAFT</span>, then open the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Grid and snapping</span> tab.
|
|
</p><p>You will see there several options:
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Pref_Draft_Snapping.png" class="image"><img alt="Pref Draft Snapping.png" src="Pref_Draft_Snapping.png" width="541" height="297" /></a>
|
|
</p><p>By default the option "Always snap (disable snap mod)" is activated, which means that the snapping tools will always be active (you don't need to press a key to activate them), note here what keys are assigned to activate the different modes, by default:
|
|
</p>
|
|
<ul><li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SHIFT</span> activate the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Constrain</span> mode (move along an axis vector only)</li>
|
|
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Ctl</span> activate the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SNAP</span> mode (cursor will snap on specific points)</li>
|
|
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Alt</span> activate the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span></li></ul>
|
|
<h3><span class="mw-headline" id="Moving_along_a_specific_axis">Moving along a specific axis</span></h3>
|
|
<p>In order to move along a specific axis, you must first select a working plane containing this axis (see the <a href="Draft_SelectPlane.html" title="Draft SelectPlane">selecting working plane</a> page for more information).
|
|
</p><p>After selecting the first point to move, start to move roughly in the axis direction and hold the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SHIFT</span> key. FreeCAD will automatically find which axis you are trying to follow and stick to this axis.
|
|
</p><p>(This tool is especially powerful if you want to align a point to another one, regarding to an axis only).
|
|
</p><p>More on constrain move <a href="Draft_Constrain.html" title="Draft Constrain">here</a>
|
|
</p>
|
|
<h3><span class="mw-headline" id="Snapping">Snapping</span></h3>
|
|
<p>If you have a point that you want to directly match on a solid, you can use snapping see the <a href="Draft_Snap.html" title="Draft Snap">snapping</a> page on how to activate the snap. Select the first point (using snap or not), and then hover to the second point until you see it highlighted.
|
|
</p><p>By default the snapping mode is activated, but you may have it deactivated in the preferences (see preceding section), in that case, you will have to hold the Snapping key <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Ctrl</span> by default.
|
|
</p>
|
|
<h3><span class="mw-headline" id="Alt_Mode">Alt Mode</span></h3>
|
|
<p>Alt mode allows you to copy and object instead of moving it only.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<ul><li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">X</span>, <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Y</span> or <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Z</span> after a point to constrain the next point on the given axis.</li>
|
|
<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> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">R</span> or click the checkbox to check/uncheck the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><b>Relative</b></span> button. If relative mode is on, the coordinates of the next point are relative to the last one. If not, they are absolute, taken from the (0,0,0) origin point.</li>
|
|
<li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">T</span> or click the checkbox to check/uncheck the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><b>Continue</b></span> button. If continue mode is on, the Move tool will restart after you finish or close it, allowing you to move or copy the objects another time without pressing the Move button again.</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 moving them. 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> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SHIFT</span> while drawing to <a href="Draft_Constrain.html" title="Draft Constrain">constrain</a> your next point horizontally or vertically in relation to the last one.</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></ul>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>The Move 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>move (FreeCAD.Object or list, Vector, [copymode]) </pre>
|
|
<ul><li> Moves the given object or the objects contained in the given list in the direction and distance indicated by the given vector. </li>
|
|
<li> If copymode is True, the actual objects are not moved, but copies are created instead. Returns the object(s) (or their copies if copymode was True)</li>
|
|
<li> A list of the moved object (or the copies) is returned</li></ul>
|
|
<p>Example:
|
|
</p>
|
|
<pre>import FreeCAD,Draft
|
|
Draft.move(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,2,0)) </pre>
|
|
<h2><span class="mw-headline" id="Limitations">Limitations</span></h2>
|
|
<ul><li> When moving (or changing Placement of) a document object (eg: Pad, Revolution, etc) which is based on a Sketch (from Sketcher/Part Design), you must move the original sketch. If you move the derived object, it will just go back to the position defined by the sketch.</li></ul>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Move/pl&oldid=279596">http://www.freecadweb.org/wiki/index.php?title=Draft_Move/pl&oldid=279596</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> |