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

108 lines
6.9 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 Downgrade/tr</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 Downgrade/tr</h1></div>
<div id="mw-content-text" lang="tr" 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_Downgrade"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Downgrade.png" class="image"><img alt="Draft Downgrade.png" src="32px-Draft_Downgrade.png" width="32" height="32" srcset="/wiki/images/thumb/8/86/Draft_Downgrade.png/48px-Draft_Downgrade.png 1.5x, /wiki/images/8/86/Draft_Downgrade.png 2x" /></a> Draft Downgrade</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menü konumu
</th></tr>
<tr>
<td class="ctEven">Draft -&gt; Downgrade
</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/tr" title="Draft Module/tr">Draft</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/tr" title="Arch Module/tr">Arch</a>
</td></tr>
<tr>
<th class="ctOdd">Varsayılan kısayol
</th></tr>
<tr>
<td class="ctEven">D N
</td></tr>
<tr>
<th class="ctOdd">Ayrıca bkz
</th></tr>
<tr>
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Upgrade/tr" title="Draft Upgrade/tr">Draft Upgrade</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_Downgrade.html"><span class="tocnumber">1</span> <span class="toctext">Draft Downgrade</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="#Example"><span class="tocnumber">5</span> <span class="toctext">Example</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>This tool downgrades selected objects in different ways. 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_Downgrade_example.jpg" class="image"><img alt="Draft Downgrade example.jpg" src="400px-Draft_Downgrade_example.jpg" width="400" height="134" srcset="/wiki/images/thumb/4/42/Draft_Downgrade_example.jpg/600px-Draft_Downgrade_example.jpg 1.5x, /wiki/images/thumb/4/42/Draft_Downgrade_example.jpg/800px-Draft_Downgrade_example.jpg 2x" /></a>
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Select one or more objects you want to downgrade</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_Downgrade.png" class="image"><img alt="Draft Downgrade.png" src="16px-Draft_Downgrade.png" width="16" height="16" srcset="/wiki/images/thumb/8/86/Draft_Downgrade.png/24px-Draft_Downgrade.png 1.5x, 32px-Draft_Downgrade.png 2x" /></a> <a href="Draft_Downgrade.html" title="Draft Downgrade">Draft Downgrade</a></span> button or press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">D</span> then <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">N</span> keys</li></ol>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<p>The selected objects are modified/downgraded, according to the following conditions (in order):
</p>
<ul><li> if only one object is selected and it contains more than one face, each face becomes a separate object</li>
<li> if there are more than one face in the selection, the subsequent objects are subtracted from the first one</li>
<li> if there is only one face in the selection, it gets converted into a wire</li>
<li> otherwise all wires found in the selection are exploded into single edges</li></ul>
<h2><span class="mw-headline" id="Example">Example</span></h2>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Downgrade_01.png" class="image"><img alt="" src="267px-Draft_Downgrade_01.png" width="267" height="200" srcset="/wiki/images/thumb/8/8d/Draft_Downgrade_01.png/401px-Draft_Downgrade_01.png 1.5x, /wiki/images/thumb/8/8d/Draft_Downgrade_01.png/535px-Draft_Downgrade_01.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Complete shape
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Downgrade_02.png" class="image"><img alt="" src="267px-Draft_Downgrade_02.png" width="267" height="200" srcset="/wiki/images/thumb/7/7d/Draft_Downgrade_02.png/400px-Draft_Downgrade_02.png 1.5x, /wiki/images/thumb/7/7d/Draft_Downgrade_02.png/533px-Draft_Downgrade_02.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Downgraded shape, with disconnected and split faces
</p>
</div>
</div></li>
</ul>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>The Downgrade tool can be used in python scripts and <a href="Macros.html" title="Macros">macros</a> by using the following function:
</p>
<pre>downgrade (objects, [delete], [force]) </pre>
<ul><li> Downgrades the given object(s) (can be an object or a list of objects). </li>
<li> If delete is True, old objects are deleted.</li>
<li> The force attribute can be used to force a certain way of downgrading. It can be: explode, shapify, subtr, splitFaces, cut2, getWire, splitWires.</li>
<li> Returns a dictionary containing two lists, a list of new objects and a list of objects to be deleted</li></ul>
<p>Example:
</p>
<pre>import FreeCADGui,Draft
selection = FreeCADGui.Selection.getSelection()
Draft.downgrade(selection) </pre>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Downgrade/tr&amp;oldid=279655">http://www.freecadweb.org/wiki/index.php?title=Draft_Downgrade/tr&amp;oldid=279655</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>