FreeCAD and DXF Import/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 15: Line 15:
</div>
</div>


=== Automtically ===
=== Automatically ===


If not already installed, go to the menu {{MenuCommand|Edit → Preferences → Import/Export → DXF}} and enable the option {{MenuCommand|Allow FreeCAD to automatically download the DXF libraries}} to make FreeCAD automatically and installing these libraries.
If not already installed, go to the menu {{MenuCommand|Edit → Preferences → Import/Export → DXF}} and enable the option {{MenuCommand|Allow FreeCAD to automatically download the DXF libraries}} to make FreeCAD automatically and installing these libraries.


For FreeCAD 0.14 or older you have to install it manually.
For FreeCAD 0.14 or older you have to install it manually:


=== Manually ===
=== Manually ===

Revision as of 21:59, 3 March 2019

Note Legali

Per essere in grado di importare dei file DXF è necessario installare manualmente alcuni file. Perché questo? Queste librerie sono pubblicate con un'altra licenza di FreeCAD, così gli sviluppatori di FreeCAD non devono impacchettarle con l'applicazione FreeCAD.

Come installarle

Per installare l'importatore Draft-dxf:

  1. Andare a Yorik's Github account e scaricare questi file (sul lato destro si può scegliere "download as ZIP").
  2. Mettere i file nella cartella delle macro.
  • In Ubuntu, normalmente la cartella si trova in
/home/your_user_name/.FreeCAD 

La directory è nascosta. Potrebbe essere necessario renderla visibile.

  • In Windows, la directory standard delle macro è
C:\Users\your_user_name\AppData\Roaming\FreeCAD

Automatically

If not already installed, go to the menu Edit → Preferences → Import/Export → DXF and enable the option Allow FreeCAD to automatically download the DXF libraries to make FreeCAD automatically and installing these libraries.

For FreeCAD 0.14 or older you have to install it manually:

Manually

  1. Go to Yorik's Github account and download these files (on the right side you can choose "download as ZIP").
  2. Put the files in your macro folder.
  • In Ubuntu, this is normally
/home/your_user_name/.FreeCAD 

The directory is hidden. You may need to unhide it to make it visible.

  • In Windows, your (standard) macro directory is
C:\Users\your_user_name\AppData\Roaming\FreeCAD

Se non si è sicuri di dove si trova la directory delle macro,

  1. aprire FreeCAD andare in "Modifica → Preferenze",
  2. selezionare "Generali" nella colonna di sinistra e selezionare la categoria "Macro" nell'angolo in alto a destra della finestra delle preferenze. Ci dovrebbe essere un campo denominato "Percorso Macro".

Tutorial: Installare l'importatore DXF

Impostare le opzioni

È possibile impostare diverse opzioni di importazione per DWG/DXF. Secondo la versione è necessario utilizzare un metodo diverso.

  • FreeCAD 0.14 e precedenti
  1. Aprire FreeCAD.
  2. Passare all'ambiente Draft. (In caso contrario, non sarà possibile visualizzare le opzioni)
  3. Andare in "Modifica → Preferenze" e selezionare "Draft" nella colonna di sinistra.
  4. Selezionare "DXF / DWG-Options"nell'angolo in alto a destra della finestra delle preferenze.
  • FreeCAD 0.15 e successive
  1. Aprire FreeCAD.
  2. Passare all'ambiente Draft. (In caso contrario, non sarà possibile visualizzare le opzioni)
  3. Andare in "Modifica → Preferenze".
  4. Ora si dovrebbe vedere un'icona etichettata "Import-Export" nella colonna di sinistra. Selezionarla.

Trucchi e consigli

A volte sembra che i file DXF non importino nulla anche se in programmi CAD 2D-DXF si aprono senza problemi. In questo caso, si può provare:

  1. andare in Modifica → Preferenze → Import/Export → DXF/DWG e deselezionare l'opzione "Unisci geometria" e riprovare.
  2. Ricordate che forse ora non avrete i punti finali delle linee coincidenti. Si dovrà farli coincidere da soli.
  3. Potete farlo con il comando "Close Shape" nel workbench Sketcher (con la versione 0.15) oppure è possibile applicare i vincoli manualmente

Potete anche provare:

  1. andare in Modifica → Preferenze → Draft → Generali e regolare il valore di "Tolerance" (default: 0,05)
  2. Riprovare

Buona importazione.