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

92 lines
7.8 KiB
HTML

<html><head><title>Draft Offset/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 Offset/sv</h1></div>
<div id="mw-content-text" lang="sv" 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=".7B.7B.7BName.2Fsv.7D.7D.7D"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Offset.png" class="image"><img alt="Draft Offset.png" src="32px-Draft_Offset.png" width="32" height="32" srcset="/wiki/images/thumb/e/eb/Draft_Offset.png/48px-Draft_Offset.png 1.5x, /wiki/images/e/eb/Draft_Offset.png 2x" /></a> {{{Name/sv}}}</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menyplacering
</th></tr>
<tr>
<td class="ctEven">Draft → Offset
</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"><a href="https://www.freecadweb.org/wiki/index.php?title=Part_Offset2D/sv&amp;action=edit&amp;redlink=1" class="new" title="Part Offset2D/sv (page does not exist)">Part 2D 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="#.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>
<h2><span class="mw-headline" id="Beskrivning">Beskrivning</span></h2>
<p>The Offset tool offsets the selected object by a given distance 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_Offset_example.jpg" class="image"><img alt="Draft Offset example.jpg" src="400px-Draft_Offset_example.jpg" width="400" height="219" srcset="/wiki/images/thumb/2/24/Draft_Offset_example.jpg/600px-Draft_Offset_example.jpg 1.5x, /wiki/images/2/24/Draft_Offset_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 till det nuvarande segmentet, iställed för att markera det närmaste.</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> <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;">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 Offset tool will restart after you finish or close it, allowing you to offset or copy the objects another time without pressing the Offset 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> Pressing <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">SHIFT</span> will <a href="Draft_Constrain.html" title="Draft Constrain">constrain</a> you to the current segment, instead of picking the closest 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 Offset 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>offset (object,Vector,[copymode],[bind],[sym]) </pre>
<ul><li> Offsets the given wire by applying the given Vector to its first vertex. </li>
<li> If copymode is True, another object is created, otherwise the same object gets offsetted. </li>
<li> If bind is True, and provided the wire is open, the original and the offsetted wires will be bound by their endpoints, forming a face. </li>
<li> If sym is True, the offset is made on both sides, the total width being the length of the given vector. </li>
<li> Returns the offsetted object (or its copy if copymode as True).</li></ul>
<p>Example:
</p>
<pre>import FreeCAD,Draft
Draft.offset(FreeCAD.ActiveDocument.ActiveObject,FreeCAD.Vector(2,2,0)) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Offset/sv&amp;oldid=228628">http://www.freecadweb.org/wiki/index.php?title=Draft_Offset/sv&amp;oldid=228628</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>