188 lines
14 KiB
HTML
188 lines
14 KiB
HTML
<html><head><title>Macro Connect And Sweep/it</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/it</h1></div>
|
|
|
|
<div id="mw-content-text" lang="it" 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="Collega_con_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> Collega con Sweep</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Descrizione
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven left">Questa macro crea una connessione tra due oggetti.
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Autore
|
|
</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">Link
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Macros_recipes/it" title="Macros recipes/it">Esempi di macro</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=How_to_install_macros/it" title="How to install macros/it">Come installare le Macro</a><br /><a href="https://www.freecadweb.org/wiki/index.php?title=Customize_Toolbars/it" title="Customize Toolbars/it">Personalizzare la barra degli strumenti</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Versione
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven macro-version">00.04
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Data ultima modifica
|
|
</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="#Collega_con_Sweep"><span class="tocnumber">1</span> <span class="toctext">Collega con Sweep</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Descrizione"><span class="tocnumber">2</span> <span class="toctext">Descrizione</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#Uso"><span class="tocnumber">3</span> <span class="toctext">Uso</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Icone"><span class="tocnumber">4</span> <span class="toctext">Icone</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="#Esempio"><span class="tocnumber">6</span> <span class="toctext">Esempio</span></a></li>
|
|
<li class="toclevel-1 tocsection-6"><a href="#Versione"><span class="tocnumber">7</span> <span class="toctext">Versione</span></a></li>
|
|
<li class="toclevel-1 tocsection-7"><a href="#Link"><span class="tocnumber">8</span> <span class="toctext">Link</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr>
|
|
</table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Descrizione">Descrizione</span></h2>
|
|
<p>Questa macro crea una connessione tra due oggetti, un oggetto e un punto o tra due punti. La connessione va da un centro all'altro centro degli oggetti, la sua forma è configurabile, e può essere circolare, poligonale o ellittica.
|
|
</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="Uso">Uso</span></h2>
|
|
<p>Eseguire la macro, selezionare gli oggetti o i punti, scegliere la forma e impostare i parametri, poi fare clic su <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="Icone">Icone</span></h2>
|
|
<p>Questi file devono essere copiati nella directory delle macro
|
|
</p><p>(Per scaricarle fare clic con il pulsante destro sull'immagine e poi su "Salva con nome ...")
|
|
</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'icona di <b> Macro_Connect_And_Sweep</b> per personalizzare la barra degli strumenti: <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><b> Macro_Connect_And_Sweep.FCMacro</b>
|
|
</p><p>Scaricare la macro da 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="Esempio">Esempio</span></h2>
|
|
<p>Creare un percorso e una tubazione con la Macro Connect And Sweep e la <a rel="nofollow" class="external text" href="https://www.freecadweb.org/wiki/index.php?title=Macro_Repro_Wire/it">Macro Replica</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>Selezionare due punti o impostare le opzioni ed eseguire lo 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_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>selezionare il bordo del cilindro ed eseguire la <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>viene creato il cerchio, attivare lo strumento 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>Selezionare il cerchio e il percorso poi eseguire lo 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="Versione">Versione</span></h2>
|
|
<p>00.04 22/02/2017 : upgrade the search path
|
|
</p><p>00.03 15/09/2016 : add create pipe
|
|
</p><p>00.02 13/06/2016 : add options choice angle path rectangle and ellipse
|
|
</p><p>00.01 07/06/2016 : add option solid or not centring rectangle or not
|
|
</p><p>00.00 05/06/2016 :
|
|
</p>
|
|
<h2><span class="mw-headline" id="Link">Link</span></h2>
|
|
<p>La discussione <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=22&t=15833">Scripting point to point tubing</a> nel forum di FreeCAD.
|
|
</p><p>Questa macro si basa sul codice di microelly2, vedere <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/it&oldid=240884">http://www.freecadweb.org/wiki/index.php?title=Macro_Connect_And_Sweep/it&oldid=240884</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> |