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

101 lines
8.0 KiB
HTML

<html><head><title>Draft Ellipse/pl</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 Ellipse/pl</h1></div>
<div id="mw-content-text" lang="pl" 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="Draft_Ellipse"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Ellipse.png" class="image"><img alt="Draft Ellipse.png" src="32px-Draft_Ellipse.png" width="32" height="32" srcset="/wiki/images/thumb/1/13/Draft_Ellipse.png/48px-Draft_Ellipse.png 1.5x, /wiki/images/1/13/Draft_Ellipse.png 2x" /></a> Draft Ellipse</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Lokalizacja menu
</th></tr>
<tr>
<td class="ctEven">Draft -&gt; Ellipse
</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/pl" title="Draft Module/pl">Draft</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/pl" title="Arch Module/pl">Arch</a>
</td></tr>
<tr>
<th class="ctOdd">Domyślny skrót
</th></tr>
<tr>
<td class="ctEven">E L
</td></tr>
<tr>
<th class="ctOdd">Zobacz także
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Circle/pl" title="Draft Circle/pl">Draft Circle</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_Ellipse.html"><span class="tocnumber">1</span> <span class="toctext">Draft Ellipse</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="#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>
</div>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>The Ellipse tool creates an ellipse in the current <a href="Draft_SelectPlane.html" title="Draft SelectPlane">work plane</a> by entering two points, defining the corner of a rectangular box in which the ellipse will fit. It takes the <a href="Draft_Linestyle.html" title="Draft Linestyle">linewidth and color</a> previously set on the Tasks tab.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_ellipse_example.jpg" class="image"><img alt="Draft ellipse example.jpg" src="400px-Draft_ellipse_example.jpg" width="400" height="246" srcset="/wiki/images/thumb/c/c0/Draft_ellipse_example.jpg/600px-Draft_ellipse_example.jpg 1.5x, /wiki/images/c/c0/Draft_ellipse_example.jpg 2x" /></a>
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</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_Ellipse.png" class="image"><img alt="Draft Ellipse.png" src="16px-Draft_Ellipse.png" width="16" height="16" srcset="/wiki/images/thumb/1/13/Draft_Ellipse.png/24px-Draft_Ellipse.png 1.5x, 32px-Draft_Ellipse.png 2x" /></a> <a href="Draft_Ellipse.html" title="Draft Ellipse">Draft Ellipse</a></span> button, or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">E</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">L</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 a second point on the 3D view, or type a <a href="Draft_Coordinates.html" title="Draft Coordinates">coordinate</a></li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<ul><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 Ellipse tool will restart after you give the second point, allowing you to draw another ellipse without pressing the Ellipse 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 second point horizontally or vertically in relation to the first one.</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 ellipse filled with a face after it has been 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 command.</li>
<li> Ellipses, 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>Major Radius</b>: The major radius of the ellipse</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Minor Radius</b>: The minor radius of the ellipse</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Make Face</b>: Fills the ellipse with a face</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">VIEW</span><b>Pattern</b>: Specifies a hatch pattern to fill the ellipse with</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 Ellipse 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>makeEllipse (majorradius, minorradius, [placement], [facemode]) </pre>
<ul><li> Creates an ellipse object with given major and minor radius.</li>
<li> If a placement is given, it is used. </li>
<li> If facemode is False, the ellipse is shown as a wireframe, otherwise as a face.</li>
<li> Returns the newly created object.</li></ul>
<p>Example:
</p>
<pre>import Draft
myEllipse = Draft.makeEllipse(4,2) </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_Ellipse/pl&amp;oldid=274747">http://www.freecadweb.org/wiki/index.php?title=Draft_Ellipse/pl&amp;oldid=274747</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>