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

99 lines
8.3 KiB
HTML

<html><head><title>Draft Rotate/sv</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 Rotate/sv</h1></div>
<div id="mw-content-text" lang="sv" 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=".7B.7B.7BName.2Fsv.7D.7D.7D"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Rotate.png" class="image"><img alt="Draft Rotate.png" src="32px-Draft_Rotate.png" width="32" height="32" srcset="/wiki/images/thumb/5/5a/Draft_Rotate.png/48px-Draft_Rotate.png 1.5x, /wiki/images/5/5a/Draft_Rotate.png 2x" /></a> {{{Name/sv}}}</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menyplacering
</th></tr>
<tr>
<td class="ctEven">Draft -&gt; Rotate
</td></tr>
<tr>
<th class="ctOdd">Arbetsbänk(ar)
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/sv" title="Draft Module/sv">Skiss</a>
</td></tr>
<tr>
<th class="ctOdd">Standard genväg
</th></tr>
<tr>
<td class="ctEven">None
</td></tr>
<tr>
<th class="ctOdd">Se även
</th></tr>
<tr>
<td class="ctEven">None
</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="#.7B.7B.7BName.2Fsv.7D.7D.7D"><span class="tocnumber">1</span> <span class="toctext">{{{Name/sv}}}</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Beskrivning"><span class="tocnumber">2</span> <span class="toctext">Beskrivning</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Bruk"><span class="tocnumber">3</span> <span class="toctext">Bruk</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>
</div>
<h2><span class="mw-headline" id="Beskrivning">Beskrivning</span></h2>
<div class="mw-translate-fuzzy">
<p>Detta verktyg roterar de markerade objekten. Om inga objekt är valda så kommer du ombes att välja ett. Sedan ombes användaren att ange rotationscentrum, startvinkel och rotationsvinkel.
</p>
</div>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Rotate_example.jpg" class="image"><img alt="Draft Rotate example.jpg" src="400px-Draft_Rotate_example.jpg" width="400" height="248" srcset="/wiki/images/thumb/3/31/Draft_Rotate_example.jpg/600px-Draft_Rotate_example.jpg 1.5x, /wiki/images/3/31/Draft_Rotate_example.jpg 2x" /></a>
</p>
<h2><span class="mw-headline" id="Bruk">Bruk</span></h2>
<ul><li> Markera punkter i ett tomt område i 3d vyn, eller på ett existerande objekt.</li>
<li> Nedtryckning av <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">CTRL</span> kommer att <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Snap/sv" title="Draft Snap/sv">snäppa</a> din punkt till tillgängliga snäpp-punkter.</li>
<li> Nedtryckning av <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SKIFT</span> kommer att <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Constrain/sv" title="Draft Constrain/sv">begränsa</a> dig vertikalt eller horisontellt i relation till rotationscentrum.</li>
<li> Om du trycker på <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ESC</span> så avbryts funktionen.</li>
<li> Skriv in siffror för att <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Coordinates/sv" title="Draft Coordinates/sv">manuellt mata in en koordinat</a>.</li>
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">C</span> växlar kopieringsläget på/av. Med kopiering på, så kommer objekt(en) att kopieras istället för att flyttas.</li>
<li> Nedtryckning av <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span> kommer att skapa en kopia, även om kopieringsknappen är av.</li>
<li> Om <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span> är nedtryckt, så kan du göra multipla kopior ända tills <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span> släpps.</li></ul>
<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;">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 Rotate tool will restart after you finish or close it, allowing you to rotate or copy the objects another time without pressing the Rotate 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 rotating them. If you keep <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">ALT</span> pressed after clicking the third 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 rotation center.</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 Rotate 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>rotate (FreeCAD.Object or list, angle, [center], [axis] ,[copymode]) </pre>
<ul><li> Rotates the given object or the objects contained in the given list with the given angle around the given center if provided, using axis as a rotation axis. </li>
<li> If axis is omitted, the rotation will be around the vertical Z axis. </li>
<li> If copymode is True, the actual objects are not moved, but copies are created instead. </li>
<li> Returns the objects (or their copies is copymode was True).</li></ul>
<p>Example:
</p>
<pre>import FreeCAD,Draft
Draft.rotate(FreeCAD.ActiveDocument.ActiveObject,45) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Rotate/sv&amp;oldid=279616">http://www.freecadweb.org/wiki/index.php?title=Draft_Rotate/sv&amp;oldid=279616</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>