243 lines
17 KiB
HTML
243 lines
17 KiB
HTML
<html><head><title>Dxf Importer Install/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>Dxf Importer Install/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" style="width: 230px; float: right; margin-left: 1em">
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Tutorial"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Base_ExampleCommandModel.png" class="image"><img alt="Base ExampleCommandModel.png" src="32px-Base_ExampleCommandModel.png" width="32" height="30" srcset="/wiki/images/thumb/9/93/Base_ExampleCommandModel.png/48px-Base_ExampleCommandModel.png 1.5x, /wiki/images/9/93/Base_ExampleCommandModel.png 2x" /></a> Tutorial</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Argomento
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">SampleClass
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Livello di difficoltà
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Utente medio
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Tempo di esecuzione
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">15 minuti
|
|
</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">Versione di FreeCAD
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Tutte
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">File di esempio
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Nessuno
|
|
</td></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="#Tutorial"><span class="tocnumber">1</span> <span class="toctext">Tutorial</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="#Prima_parte:"><span class="tocnumber">3</span> <span class="toctext">Prima parte:</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Seconda_parte:"><span class="tocnumber">4</span> <span class="toctext">Seconda parte:</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Terza_parte:"><span class="tocnumber">5</span> <span class="toctext">Terza parte:</span></a></li>
|
|
<li class="toclevel-1 tocsection-5"><a href="#Parte_quarta:"><span class="tocnumber">6</span> <span class="toctext">Parte quarta:</span></a></li>
|
|
<li class="toclevel-1 tocsection-6"><a href="#Link"><span class="tocnumber">7</span> <span class="toctext">Link</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h3><span class="mw-headline" id="Descrizione">Descrizione</span></h3>
|
|
<p>Questa pagina spiega passo a passo come installare il pacchetto Draft-dxf-import di Yorikvanhavre per caricare i file in formato DXF in FreeCAD e importare i file DWG utilizzando l'utility Teighafileconverter.
|
|
Questa installazione è stata fatta in ambiente Windows Vista, ma il metodo funziona anche per Linux
|
|
</p>
|
|
<h3><span class="mw-headline" id="Prima_parte:">Prima parte:</span></h3>
|
|
<p>Individuare la cartella delle macro in FreeCAD
|
|
</p><p><b>1 :</b> aprire FreeCAD
|
|
</p>
|
|
<div class="mw-collapsible mw-collapsed toccolours">
|
|
<p>Dalla versione 0.15 è possibile utilizzare l'aggiornamento automatico (espandere per vedere come fare)
|
|
</p>
|
|
<div class="mw-collapsible-content">
|
|
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_01b.png" class="image" title="Automatic DXF install"><img alt="Automatic DXF install" src="640px-Dxf_Importer_Install_01b.png" width="640" height="627" srcset="/wiki/images/2/2d/Dxf_Importer_Install_01b.png 1.5x" /></a></div></div>
|
|
<div style="clear:both"></div>
|
|
</div>
|
|
</div>
|
|
<p><br />
|
|
<b>2 :</b> cliccare <b>Menu > Macro > Macros</b> oppure usare il pulsante <a href="https://www.freecadweb.org/wiki/index.php?title=File:Std_DlgMacroExecuteDirect.svg" class="image"><img alt="Std DlgMacroExecuteDirect.svg" src="Std_DlgMacroExecuteDirect.svg" width="18" height="18" /></a> "Apri una finestra di dialogo che consente di eseguire una macro registrata"
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_01.png" class="image" title="open FreeCAD"><img alt="open FreeCAD" src="Dxf_Importer_Install_01.png" width="800" height="554" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>3 :</b> si apre la finestra di dialogo
|
|
</p><p><b>4 :</b> copiare l'indirizzo di "Percorso Macro" (qui <b>C:\Users\d\AppData\Roaming\FreeCAD\</b>)
|
|
In Ubuntu di solito è <b>/home/your_user_name/.FreeCAD</b>
|
|
</p><p><br />
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_02.png" class="image" title="Open a dialog to let you execute a macro Recorded"><img alt="Open a dialog to let you execute a macro Recorded" src="Dxf_Importer_Install_02.png" width="800" height="554" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>5 :</b> incollare l'indirizzo nel proprio browser e confermare
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_03.png" class="image" title="paste the address into your browser"><img alt="paste the address into your browser" src="Dxf_Importer_Install_03.png" width="800" height="478" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>6 :</b> lasciare aperto l'esploratore
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_04.png" class="image"><img alt="Dxf Importer Install 04.png" src="Dxf_Importer_Install_04.png" width="800" height="479" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>7 :</b> Chiudere FreeCAD
|
|
</p>
|
|
<h3><span class="mw-headline" id="Seconda_parte:">Seconda parte:</span></h3>
|
|
<p>Scaricare i file
|
|
</p><p><b>8 :</b> scaricare i file dalla pagina <a rel="nofollow" class="external free" href="https://github.com/yorikvanhavre/Draft-dxf-importer">https://github.com/yorikvanhavre/Draft-dxf-importer</a>
|
|
</p><p><b>9 :</b> e cliccare sul pulsante <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Download ZIP</span> per la versione di default, .
|
|
</p>
|
|
<div class="mw-collapsible mw-collapsed toccolours">
|
|
<p>(o scegliere a fondo pagina la versione desiderata) (espandere per vedere come fare)
|
|
</p>
|
|
<div class="mw-collapsible-content">
|
|
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_05b.png" class="image" title="Automatic DXF install"><img alt="Automatic DXF install" src="640px-Dxf_Importer_Install_05b.png" width="640" height="443" srcset="/wiki/images/b/bb/Dxf_Importer_Install_05b.png 1.5x" /></a></div></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_05.png" class="image" title="download files"><img alt="download files" src="Dxf_Importer_Install_05.png" width="800" height="561" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>10 :</b> è necessario estrarre il file in una directory temporanea (in questo caso <b>c:\tmp</b>)
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_06.png" class="image" title="extract the file"><img alt="extract the file" src="Dxf_Importer_Install_06.png" width="800" height="547" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>11 :</b> il file decompresso crea una nuova cartella denominata "<b>Draft-dxf-import-master</b>"
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_07.png" class="image" title="decompresser creates a new folder"><img alt="decompresser creates a new folder" src="Dxf_Importer_Install_07.png" width="800" height="537" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>12 :</b> selezionare tutti i file estratti di questa cartella e poi selezionare "Taglia"
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_08.png" class="image" title="select all the files and Cut"><img alt="select all the files and Cut" src="Dxf_Importer_Install_08.png" width="800" height="550" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>13 :</b> incollare i file nella cartella delle macro di FreeCAD aperta nel browser (punto 6 <b>C:\Users\d\AppData\Roaming\FreeCAD\</b>)
|
|
</p><p>In Ubuntu, di solito è <b>/home/your_user_name/.FreeCAD</b>
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_09.png" class="image" title="paste the files in the folder"><img alt="paste the files in the folder" src="Dxf_Importer_Install_09.png" width="800" height="480" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>14 :</b> Aprire FreeCAD e cliccare sul pulsante <a href="https://www.freecadweb.org/wiki/index.php?title=File:Std_DlgMacroExecuteDirect.svg" class="image"><img alt="Std DlgMacroExecuteDirect.svg" src="Std_DlgMacroExecuteDirect.svg" width="18" height="18" /></a> , verificare che i file necessari per il formato DXF siano, chiudere la finestra "Esegui la macro".
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_15.png" class="image" title="open FreeCAD"><img alt="open FreeCAD" src="Dxf_Importer_Install_15.png" width="800" height="553" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>15 :</b> in FreeCAD "Aprire" un proprio file DXF
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_10.png" class="image" title="load your DXF file"><img alt="load your DXF file" src="Dxf_Importer_Install_10.png" width="800" height="409" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>16 :</b> a questo punto, il file DXF è utilizzabile.
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_11.png" class="image" title="DXF file can be used"><img alt="DXF file can be used" src="Dxf_Importer_Install_11.png" width="800" height="553" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>VERSIONI</b>
|
|
</p><p>Questo repository contiene diverse versioni dell'importatore DXF. La versione di default, che si scarica quando si preme il pulsante "download ZIP" di cui sopra, è sempre la versione necessaria per la corrente versione stabile di FreeCAD.
|
|
</p><p>Se si utilizza un'altra versione di FreeCAD, per esempio, una versione di sviluppo o una versione precedente, allora potrebbe essere anche necessaria un'altra versione di questa libreria DXF. Per scoprire quale versione della libreria DXF è necessaria per la vostra versione di FreeCAD, inserire il seguente codice nella console Python:
|
|
</p>
|
|
<pre>import importDXF
|
|
print importDXF.CURRENTDXFLIB </pre>
|
|
<h3><span class="mw-headline" id="Terza_parte:">Terza parte:</span></h3>
|
|
<p>Scaricare e installare Teigha converter per usare i file DWG
|
|
</p><p><b>17 :</b> teighafileconverter si scarica dalla pagina <a rel="nofollow" class="external text" href="http://www.opendesign.com/guestfiles/teighafileconverter">teighafileconverter</a>
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_12.png" class="image" title="download Teigha"><img alt="download Teigha" src="Dxf_Importer_Install_12.png" width="800" height="561" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>18 :</b> Scegliere la versione adatta al proprio Qt e OS
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_13.png" class="image" title="choose the version"><img alt="choose the version" src="Dxf_Importer_Install_13.png" width="800" height="558" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>19 :</b> e poi installarla
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_14.png" class="image" title="install it on your system"><img alt="install it on your system" src="Dxf_Importer_Install_14.png" width="641" height="523" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>20 :</b> aprire FreeCAD e cliccare sul pulsante <a href="https://www.freecadweb.org/wiki/index.php?title=File:Std_DlgMacroExecuteDirect.svg" class="image"><img alt="Std DlgMacroExecuteDirect.svg" src="Std_DlgMacroExecuteDirect.svg" width="18" height="18" /></a> "Apri una finestra di dialogo che consente di eseguire una macro registrata"
|
|
</p><p><b>21 :</b> chiudere la finestra delle macro
|
|
</p><p><b>22 :</b> e attivare l'ambiente Draft
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_16.png" class="image" title="activate the Draft workbebch"><img alt="activate the Draft workbebch" src="Dxf_Importer_Install_16.png" width="800" height="553" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>23 :</b> Secondo la versione di FreeCAD in uso:
|
|
</p>
|
|
<ul><li> aprire il menu "Modifica > Preferenze > Draft > Opzioni DXF/DWG" oppure </li>
|
|
<li> aprire il menu "Modifica > Preferenze > Import-Export > DXF/DWG"</li></ul>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_17.png" class="image" title="Menu > Preferences"><img alt="Menu > Preferences" src="Dxf_Importer_Install_17.png" width="800" height="553" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>24 :</b> selezionare la scheda "Draft > DXF / DWG options"
|
|
</p><p><b>25 :</b> nella sezione "Opzioni formato DWG", cliccare sui tre puntini <b>...</b>
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_18.png" class="image" title="Draft > DXF / DWG options"><img alt="Draft > DXF / DWG options" src="Dxf_Importer_Install_18.png" width="800" height="553" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>26 :</b> per indicare il percorso di Teigha converter che FreeCAD deve usare per convertire i DWG in DXF
|
|
</p><p><b>27 :</b> entrare nella directory, che in questo caso in Window è "<b>C:/Program Files/ODA/Teigha File Converter 4.00.1/</b>", selezionare TeighaFileConverter.exe e confermare
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_19.png" class="image" title="DWG format option"><img alt="DWG format option" src="Dxf_Importer_Install_19.png" width="800" height="556" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>28 :</b> l'operazione è completata, cliccare <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">OK</span> poi testare un file DWG
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_20.png" class="image" title="directory Teigha File Converter 4.00.1"><img alt="directory Teigha File Converter 4.00.1" src="Dxf_Importer_Install_20.png" width="800" height="553" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
</p>
|
|
<h3><span class="mw-headline" id="Parte_quarta:">Parte quarta:</span></h3>
|
|
<p>Usare Teigha. Teigha è un programma completo utilizzabile senza FreeCAD
|
|
</p>
|
|
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Dxf_Importer_Install_21.png" class="image" title="directory Teigha File Converter 4.00.1"><img alt="directory Teigha File Converter 4.00.1" src="Dxf_Importer_Install_21.png" width="717" height="683" /></a></div>
|
|
<div style="clear:both"></div>
|
|
<p><br />
|
|
<b>1 :</b> Imput folder: percorso della cartella dove ci sono i file DXF o DWG da convertire
|
|
</p><p><b>2 :</b> Output folder: percorso della cartella dove si vuole collocare i file DXF o DWG convertiti
|
|
</p><p><b>3 :</b> Recurse folder:
|
|
</p><p><b>4 :</b> Audit:
|
|
</p><p><b>5 :</b> Input files filter: filtrare solo i file DXF o solo i file DXF oppure entrambi
|
|
</p><p><br />
|
|
<b>6 :</b> Output release: il formato in cui si vuole ottenere i file convertiti
|
|
</p><p><b>7 :</b> Start: avvia il processo
|
|
</p>
|
|
<h3><span class="mw-headline" id="Link">Link</span></h3>
|
|
<p>Video tutorial <a rel="nofollow" class="external text" href="https://www.youtube.com/watch?v=wHxTWuDhc3M">FreeCAD Tutorial 24 - DXF/DWG Import </a>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Dxf_Importer_Install/it&oldid=214498">http://www.freecadweb.org/wiki/index.php?title=Dxf_Importer_Install/it&oldid=214498</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> |