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

81 lines
4.7 KiB
HTML

<html><head><title>Draft WireToBSpline/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 WireToBSpline/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_WireToBSpline"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_WireToBSpline.png" class="image"><img alt="Draft WireToBSpline.png" src="32px-Draft_WireToBSpline.png" width="32" height="32" srcset="/wiki/images/thumb/a/a4/Draft_WireToBSpline.png/48px-Draft_WireToBSpline.png 1.5x, /wiki/images/a/a4/Draft_WireToBSpline.png 2x" /></a> Draft WireToBSpline</span></h3>
</td></tr>
<tr>
<th class="ctOdd">poziția meniului
</th></tr>
<tr>
<td class="ctEven">Drafting -&gt; Wire to BSpline
</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">nici unul
</td></tr>
<tr>
<th class="ctOdd">A se vedea, de asemenea,
</th></tr>
<tr>
<td class="ctEven">nici unul
</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_WireToBSpline.html"><span class="tocnumber">1</span> <span class="toctext">Draft WireToBSpline</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>This tool converts <a href="Draft_Wire.html" title="Draft Wire">Wires</a> to <a href="Draft_BSpline.html" title="Draft BSpline">BSplines</a>, and vice-versa.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Wire2BSpline_example.jpg" class="image"><img alt="Draft Wire2BSpline example.jpg" src="400px-Draft_Wire2BSpline_example.jpg" width="400" height="265" srcset="/wiki/images/thumb/f/f4/Draft_Wire2BSpline_example.jpg/600px-Draft_Wire2BSpline_example.jpg 1.5x, /wiki/images/f/f4/Draft_Wire2BSpline_example.jpg 2x" /></a>
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Select a <a href="Draft_Wire.html" title="Draft Wire">wire</a> or a <a href="Draft_BSpline.html" title="Draft BSpline">BSpline</a></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_WireToBSpline.png" class="image"><img alt="Draft WireToBSpline.png" src="16px-Draft_WireToBSpline.png" width="16" height="16" srcset="/wiki/images/thumb/a/a4/Draft_WireToBSpline.png/24px-Draft_WireToBSpline.png 1.5x, 32px-Draft_WireToBSpline.png 2x" /></a> <a href="Draft_WireToBSpline.html" title="Draft WireToBSpline">Draft WireToBSpline</a></span> button</li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><li> The original object will not be deleted after the operation, you must delete it manually if you wish so.</li></ul>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>Not available, but creating a new object with the points from another one is easy, for example:
</p>
<ul><li> If the active object is a wire:</li></ul>
<pre>import FreeCAD,Draft
points = FreeCAD.ActiveDocument.ActiveObject.Points
Draft.makeBSpline(points) </pre>
<ul><li> if the active object is a bspline</li></ul>
<pre>import FreeCAD,Draft
points = FreeCAD.ActiveDocument.ActiveObject.Points
Draft.makeWire(points) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_WireToBSpline/ro&amp;oldid=136322">http://www.freecadweb.org/wiki/index.php?title=Draft_WireToBSpline/ro&amp;oldid=136322</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>