189 lines
14 KiB
HTML
189 lines
14 KiB
HTML
<html><head><title>Macro Connect And Sweep/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 Connect And Sweep/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="Macro_Connect_And_Sweep"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep.png" class="image"><img alt="Macro Connect And Sweep.png" src="32px-Macro_Connect_And_Sweep.png" width="32" height="32" srcset="/wiki/images/thumb/c/c9/Macro_Connect_And_Sweep.png/48px-Macro_Connect_And_Sweep.png 1.5x, /wiki/images/thumb/c/c9/Macro_Connect_And_Sweep.png/64px-Macro_Connect_And_Sweep.png 2x" /></a> Macro_Connect_And_Sweep</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Description
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven left">Cette macro crée facilement une connection entre deux objets.
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Auteur
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=User:Mario52" title="User:Mario52">Mario52</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">00.04
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Date dernière modification
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven macro-date">2017-02-22
|
|
</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_Connect_And_Sweep"><span class="tocnumber">1</span> <span class="toctext">Macro_Connect_And_Sweep</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="#Utilisation"><span class="tocnumber">3</span> <span class="toctext">Utilisation</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Images"><span class="tocnumber">4</span> <span class="toctext">Images</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Script"><span class="tocnumber">5</span> <span class="toctext">Script</span></a></li>
|
|
<li class="toclevel-1 tocsection-5"><a href="#Exemple"><span class="tocnumber">6</span> <span class="toctext">Exemple</span></a></li>
|
|
<li class="toclevel-1 tocsection-6"><a href="#Versions"><span class="tocnumber">7</span> <span class="toctext">Versions</span></a></li>
|
|
<li class="toclevel-1 tocsection-7"><a href="#Links"><span class="tocnumber">8</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>Cette macro crée facilement une connexion entre deux objets (le centre des objets sont les points de départ et d'arrivée du sweep) , un objet et un point ou entre deux points une forme peut être choisie cercle polygone ellipse rectangle paramétrable
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_00.png" class="image" title="Macro_Connect_And_Sweep"><img alt="Macro_Connect_And_Sweep" src="480px-Macro_Connect_And_Sweep_00.png" width="480" height="360" srcset="/wiki/images/1/1c/Macro_Connect_And_Sweep_00.png 1.5x" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<h2><span class="mw-headline" id="Utilisation">Utilisation</span></h2>
|
|
<p>lancez la macro sélectionnez vos objets ou points choisissez la forme et réglez les dimensions et cliquez sur le bouton <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Create</span>.
|
|
</p>
|
|
<div style="clear:both"></div>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_01.png" class="image" title="Macro_Connect_And_Sweep"><img alt="Macro_Connect_And_Sweep" src="Macro_Connect_And_Sweep_01.png" width="350" height="357" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<h2><span class="mw-headline" id="Images">Images</span></h2>
|
|
<p>Ces images doivent être copiées dans votre répertoire de macros.
|
|
</p><p>(Pour télécharger les images faites : Clic sur le bouton droit de la souris sur l'image et selectionnez "Sauvez l'image sous...")
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_CE.png" class="image" title="Center"><img alt="Center" src="Macro_Connect_And_Sweep_CE.png" width="79" height="49" /></a> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_TL.png" class="image" title="Top left"><img alt="Top left" src="Macro_Connect_And_Sweep_TL.png" width="79" height="49" /></a> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_TR.png" class="image" title="Top rigth"><img alt="Top rigth" src="Macro_Connect_And_Sweep_TR.png" width="79" height="49" /></a> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_LL.png" class="image" title="Low left"><img alt="Low left" src="Macro_Connect_And_Sweep_LL.png" width="79" height="49" /></a> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_LR.png" class="image" title="Low rigth"><img alt="Low rigth" src="Macro_Connect_And_Sweep_LR.png" width="79" height="49" /></a>
|
|
</p><p>L'icône pour votre barre d'outils <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep.png" class="image" title="Icon for the button"><img alt="Icon for the button" src="Macro_Connect_And_Sweep.png" width="65" height="64" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Script">Script</span></h2>
|
|
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep.png" class="image" title="icon for the button"><img alt="icon for the button" src="Macro_Connect_And_Sweep.png" width="65" height="64" /></a><b> </b>
|
|
</p><p>Macro_Connect_And_Sweep.FCMacro<b> </b>
|
|
</p><p>Téléchargez la macro sur Gits <a rel="nofollow" class="external text" href="https://gist.github.com/mario52a/3ec67a3711202dab69592ce53b938924"><b> Macro_Connect_And_Sweep.FCMacro</b></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Exemple">Exemple</span></h2>
|
|
<p>Créer un tubage en suivant un chemin avec Macro_Connect_And_Sweep et <a href="https://www.freecadweb.org/wiki/index.php?title=Macro_Repro_Wire/fr" title="Macro Repro Wire/fr">Macro_Repro_Wire</a> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_ReproWire.png" class="image"><img alt="Macro ReproWire.png" src="32px-Macro_ReproWire.png" width="32" height="32" srcset="/wiki/images/thumb/a/a3/Macro_ReproWire.png/48px-Macro_ReproWire.png 1.5x, /wiki/images/a/a3/Macro_ReproWire.png 2x" /></a>
|
|
</p>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
|
<div class="thumb" style="width: 430px;"><div style="margin:44.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_02.png" class="image"><img alt="" src="400px-Macro_Connect_And_Sweep_02.png" width="400" height="241" srcset="/wiki/images/thumb/d/dd/Macro_Connect_And_Sweep_02.png/600px-Macro_Connect_And_Sweep_02.png 1.5x, /wiki/images/d/dd/Macro_Connect_And_Sweep_02.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>The sweep to work
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
|
<div class="thumb" style="width: 430px;"><div style="margin:44.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_03.png" class="image"><img alt="" src="400px-Macro_Connect_And_Sweep_03.png" width="400" height="241" srcset="/wiki/images/thumb/6/6e/Macro_Connect_And_Sweep_03.png/600px-Macro_Connect_And_Sweep_03.png 1.5x, /wiki/images/6/6e/Macro_Connect_And_Sweep_03.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>Sélectionnez les deux point des extrémités de chaque fil exécutez la macro choisisez la forme et les réglages et cliquez sur le bouton <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Create solid</span>
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
|
<div class="thumb" style="width: 430px;"><div style="margin:44.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_04.png" class="image"><img alt="" src="400px-Macro_Connect_And_Sweep_04.png" width="400" height="241" srcset="/wiki/images/thumb/9/93/Macro_Connect_And_Sweep_04.png/600px-Macro_Connect_And_Sweep_04.png 1.5x, /wiki/images/9/93/Macro_Connect_And_Sweep_04.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>Repeat the operation if needed
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
|
<div class="thumb" style="width: 430px;"><div style="margin:44.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_05.png" class="image"><img alt="" src="400px-Macro_Connect_And_Sweep_05.png" width="400" height="241" srcset="/wiki/images/thumb/1/17/Macro_Connect_And_Sweep_05.png/600px-Macro_Connect_And_Sweep_05.png 1.5x, /wiki/images/1/17/Macro_Connect_And_Sweep_05.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>sélectionnez le bord du cylindre et exécutez la macro <a href="Macro_Repro_Wire.html" title="Macro Repro Wire">Macro_Repro_Wire</a> <a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_ReproWire.png" class="image"><img alt="Macro ReproWire.png" src="32px-Macro_ReproWire.png" width="32" height="32" srcset="/wiki/images/thumb/a/a3/Macro_ReproWire.png/48px-Macro_ReproWire.png 1.5x, /wiki/images/a/a3/Macro_ReproWire.png 2x" /></a>
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
|
<div class="thumb" style="width: 430px;"><div style="margin:44.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_06.png" class="image"><img alt="" src="400px-Macro_Connect_And_Sweep_06.png" width="400" height="241" srcset="/wiki/images/thumb/a/a2/Macro_Connect_And_Sweep_06.png/600px-Macro_Connect_And_Sweep_06.png 1.5x, /wiki/images/a/a2/Macro_Connect_And_Sweep_06.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>le cercle est créé activez l'outil Sweep <a href="https://www.freecadweb.org/wiki/index.php?title=File:Part_Sweep.png" class="image"><img alt="Part Sweep.png" src="32px-Part_Sweep.png" width="32" height="32" srcset="/wiki/images/thumb/7/79/Part_Sweep.png/48px-Part_Sweep.png 1.5x, /wiki/images/7/79/Part_Sweep.png 2x" /></a>
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
|
<div class="thumb" style="width: 430px;"><div style="margin:44.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_07.png" class="image"><img alt="" src="400px-Macro_Connect_And_Sweep_07.png" width="400" height="241" srcset="/wiki/images/thumb/a/a4/Macro_Connect_And_Sweep_07.png/600px-Macro_Connect_And_Sweep_07.png 1.5x, /wiki/images/a/a4/Macro_Connect_And_Sweep_07.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>Sélectionnez le cercle le chemin et exécuter le sweep
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<center>
|
|
<ul class="gallery mw-gallery-traditional">
|
|
<li class="gallerybox" style="width: 435px"><div style="width: 435px">
|
|
<div class="thumb" style="width: 430px;"><div style="margin:44.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Macro_Connect_And_Sweep_08.png" class="image"><img alt="" src="400px-Macro_Connect_And_Sweep_08.png" width="400" height="241" srcset="/wiki/images/thumb/f/fb/Macro_Connect_And_Sweep_08.png/600px-Macro_Connect_And_Sweep_08.png 1.5x, /wiki/images/f/fb/Macro_Connect_And_Sweep_08.png 2x" /></a></div></div>
|
|
<div class="gallerytext">
|
|
<p>Easy ?
|
|
</p>
|
|
</div>
|
|
</div></li>
|
|
</ul>
|
|
</center>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Versions">Versions</span></h2>
|
|
<p>00.04 22/02/2017 : mise à jour du système de recherche path macros
|
|
</p><p>00.03 15/09/2016 : Ajout de la création de tubes.
|
|
</p><p>00.02 13/06/2016 : ajout de l'option de choix du coin du rectangle (et ellipse) pour suivre le chemin du sweep et d'un bouton pour effacer la dernière forme si le sens ne convient pas
|
|
</p><p>00.01 07/06/2016 : ajout des options solid ou non centrage du rectangle ou non
|
|
</p><p>00.00 05/06/2016 :
|
|
</p>
|
|
<h2><span class="mw-headline" id="Links">Links</span></h2>
|
|
<p>La discussion sur le forum <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=22&t=15833">Scripting point to point tubing</a>
|
|
</p><p>Cette macro est basée sur le code de microelly2 voir sur le forum <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?t=7029#p56746">Looking for some helpful GUI-commands</a>
|
|
</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_Connect_And_Sweep/fr&oldid=240882">http://www.freecadweb.org/wiki/index.php?title=Macro_Connect_And_Sweep/fr&oldid=240882</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> |