92 lines
4.7 KiB
HTML
92 lines
4.7 KiB
HTML
<html><head><title>Macro Copy3DViewToClipboard</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 Copy3DViewToClipboard</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="Macro_Copy3DViewToClipboard"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Copy3DViewToClipboard.png" class="image"><img alt="Macro Copy3DViewToClipboard.png" src="32px-Macro_Copy3DViewToClipboard.png" width="32" height="32" srcset="/wiki/images/thumb/8/84/Macro_Copy3DViewToClipboard.png/48px-Macro_Copy3DViewToClipboard.png 1.5x, Macro_Copy3DViewToClipboard.png 2x" /></a> Macro Copy3DViewToClipboard</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Description
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven left macro-description">Copy contents of 3DView to clipboard
|
|
</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:Mario52" title="User:Mario52">Mario52</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">00.01
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Date last modification
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven macro-date">2016-09-14
|
|
</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="#Macro_Copy3DViewToClipboard"><span class="tocnumber">1</span> <span class="toctext">Macro Copy3DViewToClipboard</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="#Discussion"><span class="tocnumber">4</span> <span class="toctext">Discussion</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Code"><span class="tocnumber">5</span> <span class="toctext">Code</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr>
|
|
</table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>Macro will copy the contents of the 3D view to the clipboard
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_To_Use">How To Use</span></h2>
|
|
<ul><li>Run once to activate macro (the macro is loaded resident into the memory of the PC).</li>
|
|
<li>Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">G</span> to grab the contents of the 3d view and copy them to the clipboard.</li>
|
|
<li>Press <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Q</span> to quit.</li></ul>
|
|
<p>PS: if you wild other format modify the values of the line number 33 ex:
|
|
</p>
|
|
<pre>glw.resize(640, 480) # reduce the SubWindow </pre>
|
|
<p>to
|
|
</p>
|
|
<pre>glw.resize(800, 600) # reduce the SubWindow </pre>
|
|
<h2><span class="mw-headline" id="Discussion">Discussion</span></h2>
|
|
<p>See <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=3&t=16731">forum-thread here</a>.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Code">Code</span></h2>
|
|
<p>The icon for you toolbar <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Copy3DViewToClipboard.png" class="image"><img alt="Macro Copy3DViewToClipboard.png" src="Macro_Copy3DViewToClipboard.png" width="64" height="64" /></a>
|
|
</p><p>Copy the macro to Gist <a rel="nofollow" class="external text" href="https://gist.github.com/mario52a/f5c3738f858f7b058897c6c235232cbe"><b>Macro_Copy3DViewToClipboard.FCMacro</b> </a>
|
|
</p><p><br />
|
|
</p>
|
|
<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=Macro_Copy3DViewToClipboard&oldid=239944">http://www.freecadweb.org/wiki/index.php?title=Macro_Copy3DViewToClipboard&oldid=239944</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> |