FreeCAD-Doc/localwiki/Macro_HighlightCommon.html
2018-07-08 12:11:49 -05:00

83 lines
4.2 KiB
HTML

<html><head><title>Macro HighlightCommon</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 HighlightCommon</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="HightlightCommon"><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> HightlightCommon</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Description
</th></tr>
<tr>
<td class="ctEven left macro-description">Highlight common parts
</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:JMG&amp;action=edit&amp;redlink=1" class="new" title="User:JMG (page does not exist)">JMG</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-09-24
</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="#HightlightCommon"><span class="tocnumber">1</span> <span class="toctext">HightlightCommon</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="#Script"><span class="tocnumber">3</span> <span class="toctext">Script</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Links"><span class="tocnumber">4</span> <span class="toctext">Links</span></a></li>
</ul>
</div>
</td></tr>
</table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>Highlight common parts by showing the common shape in red and setting half-transparency on original parts (the original objects are not modified)
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Captura_de_pantalla_de_2015-09-10_11-17-30.png" class="image" title="Volume common of objects selected"><img alt="Volume common of objects selected" src="Captura_de_pantalla_de_2015-09-10_11-17-30.png" width="646" height="440" /></a>
</p>
<h2><span class="mw-headline" id="Script">Script</span></h2>
<p><b>Macro_HighlightCommon.FCMacro</b>
</p><p>The code is visible on Github: <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightCommon.FCMacro">Utility/HighlightCommon.FCMacro</a>.
</p>
<h2><span class="mw-headline" id="Links">Links</span></h2>
<ul><li> See for the complementary macro <a href="Macro_HighlightDifference.html" title="Macro HighlightDifference">Macro_HighlightDifference</a></li>
<li> My blog <a rel="nofollow" class="external text" href="http://linuxforanengineer.blogspot.com.es/">Linux for an engineer</a> for the code and other interesting macros for FreeCAD</li>
<li> The discussion on forum <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=22&amp;t=12426">"collision detection", overlapping</a></li></ul>
<p><br />
</p>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Macro_HighlightCommon&amp;oldid=241008">http://www.freecadweb.org/wiki/index.php?title=Macro_HighlightCommon&amp;oldid=241008</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>