88 lines
5.1 KiB
HTML
88 lines
5.1 KiB
HTML
<html><head><title>Macro Sheet Metal Unfolder</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Macro Sheet Metal Unfolder</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="fcinfobox wikitable ct" width="100%" style="float: right; width: 230px; margin-left: 10px;">
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Sheet_Metal_Unfolder"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Text-x-python.png" class="image"><img alt="Text-x-python.png" src="32px-Text-x-python.png" width="32" height="32" srcset="/wiki/images/2/2c/Text-x-python.png 1.5x" /></a> Sheet Metal Unfolder</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Description
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven left macro-description">This macro unfolds simple sheet-metal-designs.
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Author
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven macro-author"><a href="https://www.freecadweb.org/wiki/index.php?title=User:Ulrich1a&action=edit&redlink=1" class="new" title="User:Ulrich1a (page does not exist)">ulrich1a</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Links
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="Macros_recipes.html" title="Macros recipes">Macros recipes</a><br /><a href="How_to_install_macros.html" title="How to install macros">How to install macros</a><br /><a href="Customize_Toolbars.html" title="Customize Toolbars">How to customize toolbars</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Version
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven macro-version">1.0
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Date last modification
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven macro-date">2015-01-01
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">
|
|
</th></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="#Sheet_Metal_Unfolder"><span class="tocnumber">1</span> <span class="toctext">Sheet Metal Unfolder</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Usage"><span class="tocnumber">2</span> <span class="toctext">Usage</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#Remarks"><span class="tocnumber">3</span> <span class="toctext">Remarks</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Link"><span class="tocnumber">4</span> <span class="toctext">Link</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Script"><span class="tocnumber">5</span> <span class="toctext">Script</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr>
|
|
</table>
|
|
<p><br />
|
|
</p><p>The macro can unfold simple sheet-metal-parts. The parts must have everywhere the same material thickness as typical for sheet-metal-parts. See example:
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Unfolding_test2.png" class="image"><img alt="Unfolding test2.png" src="Unfolding_test2.png" width="661" height="460" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Usage">Usage</span></h2>
|
|
<p>Select a flat face from your part in the 3D-view. Start the macro.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Remarks">Remarks</span></h2>
|
|
<p>The macro creates a lot of text in the report-view. This is still a remains of the debugging process of this macro. The edges of the sheet-metal-part may be round or slanting. But if you "walk" from the upper side to the lower side of the sheet-metal-part you should not cross more than one face.
|
|
In best case the macro generates a new flat solid from your part. If the macro has problems, you may get only a flat shell or a bunch of flattened faces or only an error message.
|
|
</p><p>The macro can be thought of as a companion to the AddWall tool from JMG published here: <a rel="nofollow" class="external text" href="http://linuxforanengineer.blogspot.com.es/2014/12/freecad-sheet-metal-tool-add-wall.html">FreeCAD: Sheet metal tool "Add Wall"</a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Link">Link</span></h2>
|
|
<p>The forum discussion <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=24&t=8789">Sheet metal: add wall tool</a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Script">Script</span></h2>
|
|
<p>The script can be viewed and downloaded from the FreeCAD-macros repository: <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD-macros/blob/master/SheetMetalUnfolder.FCMacro">SheetMetalUnfolder.FCMacro</a>
|
|
</p><p>(Right-click on the "Raw" button and select "Save target as..." to download)
|
|
</p><p><a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD-macros/raw/master/SheetMetalUnfolder.FCMacro">Direct link</a> (right-click and select "Save target as...")
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Macro_Sheet_Metal_Unfolder&oldid=241062">http://www.freecadweb.org/wiki/index.php?title=Macro_Sheet_Metal_Unfolder&oldid=241062</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> |