112 lines
6.9 KiB
HTML
112 lines
6.9 KiB
HTML
<html><head><title>Macro HighlightDifference/fr</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 HighlightDifference/fr</h1></div>
|
|
|
|
<div id="mw-content-text" lang="fr" dir="ltr" class="mw-content-ltr"><hr/><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="HightlightDifference"><a href="https://www.freecadweb.org/wiki/index.php?title=File:HighlightDifference.png" class="image"><img alt="HighlightDifference.png" src="HighlightDifference.png" width="32" height="32" /></a> HightlightDifference</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Description
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven left">Crée un objet(s) différence entre deux objets qui se chevauchent
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Auteur
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=User:Ga%C3%ABl_Ecorchard&action=edit&redlink=1" class="new" title="User:Gaël Ecorchard (page does not exist)">Gaël Ecorchard</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Liens
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Macros_recipes/fr" title="Macros recipes/fr">Recettes macros</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=How_to_install_macros/fr" title="How to install macros/fr">Comment installer une macro</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=Customize_Toolbars/fr" title="Customize Toolbars/fr">Comment ajouter une barre d'outils</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 dernière 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="#HightlightDifference"><span class="tocnumber">1</span> <span class="toctext">HightlightDifference</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="#Exemple"><span class="tocnumber">3</span> <span class="toctext">Exemple</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Script"><span class="tocnumber">4</span> <span class="toctext">Script</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Liens"><span class="tocnumber">5</span> <span class="toctext">Liens</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr>
|
|
</table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>Crée des objets calculés sur la différence du chevauchement des objets originaux. les nouveaux objets sont coloré en rouge et vert. les objets originaux ne sont pas modifiés mais rendu transparent à 80%. le volume de chaque nouveau objet est affiché dans la Vue rapport.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_HighlightDifference_02.png" class="image" title="Le résultat de la différence entre les deux objets est créé"><img alt="Le résultat de la différence entre les deux objets est créé" src="400px-Macro_HighlightDifference_02.png" width="400" height="300" srcset="/wiki/images/thumb/6/65/Macro_HighlightDifference_02.png/600px-Macro_HighlightDifference_02.png 1.5x, /wiki/images/6/65/Macro_HighlightDifference_02.png 2x" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Exemple">Exemple</span></h2>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
|
|
<div class="thumb" style="width: 230px;"><div style="margin:50px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_HighlightDifference_00.png" class="image"><img alt="" src="200px-Macro_HighlightDifference_00.png" width="200" height="150" srcset="/wiki/images/thumb/5/5f/Macro_HighlightDifference_00.png/300px-Macro_HighlightDifference_00.png 1.5x, /wiki/images/thumb/5/5f/Macro_HighlightDifference_00.png/400px-Macro_HighlightDifference_00.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>Objets originaux
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
|
|
<div class="thumb" style="width: 230px;"><div style="margin:50px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_HighlightDifference_02.png" class="image"><img alt="" src="200px-Macro_HighlightDifference_02.png" width="200" height="150" srcset="/wiki/images/thumb/6/65/Macro_HighlightDifference_02.png/300px-Macro_HighlightDifference_02.png 1.5x, 400px-Macro_HighlightDifference_02.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>Le résultat est coloré en rouge et vert (ici les objets sont décalés)
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
|
|
<div class="thumb" style="width: 230px;"><div style="margin:50px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_HighlightDifference_01.png" class="image"><img alt="" src="200px-Macro_HighlightDifference_01.png" width="200" height="150" srcset="/wiki/images/thumb/d/dd/Macro_HighlightDifference_01.png/300px-Macro_HighlightDifference_01.png 1.5x, /wiki/images/thumb/d/dd/Macro_HighlightDifference_01.png/400px-Macro_HighlightDifference_01.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>Les objets originaux sont transparents à 80% et non modifiés
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Script">Script</span></h2>
|
|
<p><b>Macro_HighlightDifference.FCMacro</b>
|
|
</p><p>Le code est visible sur Github: <a rel="nofollow" class="external text" href="https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/HighlightDifference.FCMacro">Utility/HighlightDifference.FCMacro</a>.
|
|
</p>
|
|
<h2><span class="mw-headline" id="Liens">Liens</span></h2>
|
|
<ul><li> Voir la macro complémentaire <a href="https://www.freecadweb.org/wiki/index.php?title=Macro_HighlightCommon/fr" title="Macro HighlightCommon/fr">Macro_HighlightCommon</a></li>
|
|
<li> La discussion sur le forum <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=22&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_HighlightDifference/fr&oldid=241019">http://www.freecadweb.org/wiki/index.php?title=Macro_HighlightDifference/fr&oldid=241019</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> |