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

113 lines
14 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html><head><title>Draft Wire/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 Wire/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_Wire"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Wire.png" class="image"><img alt="Draft Wire.png" src="32px-Draft_Wire.png" width="32" height="32" srcset="/wiki/images/thumb/0/00/Draft_Wire.png/48px-Draft_Wire.png 1.5x, /wiki/images/0/00/Draft_Wire.png 2x" /></a> Draft Wire</span></h3>
</td></tr>
<tr>
<th class="ctOdd">poziția meniului
</th></tr>
<tr>
<td class="ctEven">Draft → Wire
</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">W I
</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=Draft_Line/ro" title="Draft Line/ro">Draft Line</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_BSpline/ro" title="Draft BSpline/ro">Draft BSpline</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_Wire.html"><span class="tocnumber">1</span> <span class="toctext">Draft Wire</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Descriere"><span class="tocnumber">2</span> <span class="toctext">Descriere</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Cum_se_folose.C5.9Fte"><span class="tocnumber">3</span> <span class="toctext">Cum se foloseşte</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="#Properties"><span class="tocnumber">5</span> <span class="toctext">Properties</span></a></li>
<li class="toclevel-1 tocsection-5"><a href="#Scripting"><span class="tocnumber">6</span> <span class="toctext">Scripting</span></a></li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h2><span class="mw-headline" id="Descriere">Descriere</span></h2>
<p>Unealta "Sârmă" creează o polilinie (o succesiune de segmente legate între ele) în <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_SelectPlane/ro" title="Draft SelectPlane/ro">planul de lucru</a> curent. Preia valorile pentru <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Linestyle/ro&amp;action=edit&amp;redlink=1" class="new" title="Draft Linestyle/ro (page does not exist)">lăţimea ţi culoarea liniei</a> setate în prealabil pe tab-ul "Sarcini" (Tasks). Unealta "Sârmă" se comportă ca şi unealta <a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Line/ro" title="Draft Line/ro">linie din CIornă</a>, cu deosebirea că va continua şi după trasarea între primele două puncte.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Polyline_example.jpg" class="image"><img alt="Draft Polyline example.jpg" src="400px-Draft_Polyline_example.jpg" width="400" height="204" srcset="/wiki/images/thumb/4/47/Draft_Polyline_example.jpg/600px-Draft_Polyline_example.jpg 1.5x, /wiki/images/thumb/4/47/Draft_Polyline_example.jpg/800px-Draft_Polyline_example.jpg 2x" /></a>
</p>
<h2><span class="mw-headline" id="Cum_se_folose.C5.9Fte">Cum se foloseşte</span></h2>
<ol><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_Wire.png" class="image"><img alt="Draft Wire.png" src="16px-Draft_Wire.png" width="16" height="16" srcset="/wiki/images/thumb/0/00/Draft_Wire.png/24px-Draft_Wire.png 1.5x, 32px-Draft_Wire.png 2x" /></a> <a href="Draft_Wire.html" title="Draft Wire">Draft Wire</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">W</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">I</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 additional point on the 3D view, or type a <a href="Draft_Coordinates.html" title="Draft Coordinates">coordinate</a></li>
<li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">F</span> or <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">C</span>, or double-click the last point, or click on the first point to finish or close the wire. If the wire is closed, it will also be a face, even if it appears as wireframe.</li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><li> If several connected <a href="Draft_Line.html" title="Draft Line">Draft Lines</a> are selected when pressing the <b>Draft Wire</b> Button, they will be turned into a wire and the command will exit. <span style="font-size:x-small;"><a href="Release_notes_0.17.html" title="Release notes 0.17">available in version 0.17</a></span></li></ul>
<ul><li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">F</span> or 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_FinishLine.png" class="image"><img alt="Draft FinishLine.png" src="12px-Draft_FinishLine.png" width="12" height="12" srcset="/wiki/images/thumb/c/c1/Draft_FinishLine.png/18px-Draft_FinishLine.png 1.5x, /wiki/images/thumb/c/c1/Draft_FinishLine.png/24px-Draft_FinishLine.png 2x" /></a> <b><a href="Draft_FinishLine.html" title="Draft FinishLine">Finish</a></b></span> button to finish the wire, leaving it open</li>
<li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">C</span> or 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_CloseLine.png" class="image"><img alt="Draft CloseLine.png" src="12px-Draft_CloseLine.png" width="12" height="12" srcset="/wiki/images/thumb/d/dc/Draft_CloseLine.png/18px-Draft_CloseLine.png 1.5x, /wiki/images/thumb/d/dc/Draft_CloseLine.png/24px-Draft_CloseLine.png 2x" /></a> <b><a href="Draft_CloseLine.html" title="Draft CloseLine">Close</a></b></span> button or click on the first point to finish the wire, but making it closed by adding a last segment between the last point and the first one.</li>
<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 Wire tool will restart after you finish or close it, allowing you to draw another one without pressing the Wire button again.</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;">W</span> or 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_Wipe.png" class="image"><img alt="Draft Wipe.png" src="12px-Draft_Wipe.png" width="12" height="12" srcset="/wiki/images/thumb/8/86/Draft_Wipe.png/18px-Draft_Wipe.png 1.5x, /wiki/images/thumb/8/86/Draft_Wipe.png/24px-Draft_Wipe.png 2x" /></a> <b>Wipe</b></span> button to remove the existing segments and start the wire from the last point.</li>
<li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">CTRL</span>+<span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Z</span> or 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_UndoLine.png" class="image"><img alt="Draft UndoLine.png" src="12px-Draft_UndoLine.png" width="12" height="12" srcset="/wiki/images/thumb/d/dd/Draft_UndoLine.png/18px-Draft_UndoLine.png 1.5x, /wiki/images/thumb/d/dd/Draft_UndoLine.png/24px-Draft_UndoLine.png 2x" /></a> <b><a href="Draft_UndoLine.html" title="Draft UndoLine">Undo</a></b></span> button to undo the last point.</li>
<li> Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">I</span> or the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><b>Filled</b></span> button to have the wire filled with a face if it is closed.</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 Line command.</li>
<li> Closed wires, when in "Flat Lines" display mode, can display a hatch pattern, by setting their "Pattern" property below.</li></ul>
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Closed</b>: Specifies if the wire is closed or not</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Chamfer Size</b>: Specifies the size of chamfered corners</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Fillet Radius</b>: Specifies a curvature radius to give to the nodes of the wire</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Subdivisions</b>: Divides the segments of the wire with the given number of subdivisions <span style="font-size:x-small;"><a href="Release_notes_0.16.html" title="Release notes 0.16">available in version 0.16</a></span></li></ul>
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Make Face</b>: Fills the wire with a face if it is closed</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>End Arrow</b>: Shows an arrow symbol at the last point of the wire, so it can be used as an annotation leader line</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Pattern</b>: Specifies a hatch pattern to fill the wire with (Closed Wire)</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Pattern Size</b>: Specifies the size of the hatch pattern</li></ul>
<p>See also <a href="Draft_Pattern.html" title="Draft Pattern">Draft Pattern</a> page.
</p>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Wire 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>makeWire (list or Part.Wire, [closed], [placement], [facemode]) </pre>
<ul><li> Creates a Wire object from the given list of vectors or from the given wire.
<ul><li> If closed is True or if first and last points are identical, the wire is closed.</li>
<li> If facemode is True (and the wire is closed), the wire will appear filled. </li></ul></li>
<li> The current Draft linewidth and color will be used.</li>
<li> Returns the newly created object.</li></ul>
<p>Exempluː
</p>
<pre>import FreeCAD,Draft
p1 = FreeCAD.Vector(0,0,0)
p2 = FreeCAD.Vector(1,1,0)
p3 = FreeCAD.Vector(2,0,0)
Draft.makeWire([p1,p2,p3],closed=True) </pre>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Wire/ro&amp;oldid=236922">http://www.freecadweb.org/wiki/index.php?title=Draft_Wire/ro&amp;oldid=236922</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>