87 lines
7.1 KiB
HTML
87 lines
7.1 KiB
HTML
<html><head><title>Draft Offset/ro</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/ro</h1></div>
|
|
|
|
<div id="mw-content-text" lang="ro" 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_Offset"><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> Draft Offset</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">poziția meniului
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Draft → Offset
|
|
</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/ro" title="Draft Module/ro">Draft</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/ro" title="Arch Module/ro">Arch</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">scurtătură
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">O S
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">A se vedea, de asemenea,
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Part_Offset2D/ro&action=edit&redlink=1" class="new" title="Part Offset2D/ro (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="Draft_Offset.html"><span class="tocnumber">1</span> <span class="toctext">Draft Offset</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>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="How_to_use">How to use</span></h2>
|
|
<ol><li> Select objects you wish to offset</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_Offset.png" class="image"><img alt="Draft Offset.png" src="16px-Draft_Offset.png" width="16" height="16" srcset="/wiki/images/thumb/e/eb/Draft_Offset.png/24px-Draft_Offset.png 1.5x, 32px-Draft_Offset.png 2x" /></a> <a href="Draft_Offset.html" title="Draft Offset">Draft Offset</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">O</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">S</span> keys</li>
|
|
<li> Click a point on the 3D view, or type a distance.</li></ol>
|
|
<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/ro&oldid=228624">http://www.freecadweb.org/wiki/index.php?title=Draft_Offset/ro&oldid=228624</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> |