108 lines
6.8 KiB
HTML
108 lines
6.8 KiB
HTML
<html><head><title>Draft Downgrade/sv</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/sv</h1></div>
|
|
|
|
<div id="mw-content-text" lang="sv" 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">Menyplacering
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Draft -> Downgrade
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Arbetsbänk(ar)
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/sv" title="Draft Module/sv">Draft</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/sv" title="Arch Module/sv">Arch</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Standard genväg
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">D N
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Se även
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Upgrade/sv" title="Draft Upgrade/sv">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="#Beskrivning"><span class="tocnumber">2</span> <span class="toctext">Beskrivning</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#Bruk"><span class="tocnumber">3</span> <span class="toctext">Bruk</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="Beskrivning">Beskrivning</span></h2>
|
|
<p>Detta verktyg nedgraderar valda objekt på olika sätt. Om inget objekt är markerat, så kommer du att ombes att välja ett.
|
|
</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="Bruk">Bruk</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>De valda objekten förändras/nedgraderas, enligt följande lista (i ordning):
|
|
</p>
|
|
<ul><li> Om endast ett objekt är valt och den innehåller mer än en yta, så separeras detta till olika objekt</li>
|
|
<li> om det finns fler än en yta, så subtraheras efterföljande ytor från den första</li>
|
|
<li> Om det bara finns en yta, så konverteras den till en tråd</li>
|
|
<li> annars så delas alla trådar upp till enkla kanter</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/sv&oldid=279652">http://www.freecadweb.org/wiki/index.php?title=Draft_Downgrade/sv&oldid=279652</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> |