Importare i file DXF in FreeCAD

From FreeCAD Documentation
Revision as of 22:13, 20 November 2014 by Renatorivo (talk | contribs) (Created page with "== Come installarle == Per installare l'importatore Draft-dxf: # Andare a [https://github.com/yorikvanhavre/Draft-dxf-importer Yorik's Github account] e scaricare questi file ...")

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

If you are unsure of where your macro-directory is,

  1. open FreeCAD and go to "Edit > Preferences",
  2. select "General" in the left column and select category "Macro" on the top right corner of the preferences-window. There sould be a field named "Macro Path".

Setting Options

You can set several import options for DWG/DXF. Depending on your version you have to use a different method.

  • FreeCAD 0.14 and older
  1. Open FreeCAD.
  2. Switch to the Draft Workbench. (Otherwise you won't see the options)
  3. Go to "Edit > Preferences" and select "Draft" in the left column.
  4. Select "DXF / DWG-Options" in the top right corner of the preferences-window.
  • FreeCAD 0.15 and above
  1. Open FreeCAD.
  2. Switch to the Draft Workbench. (Otherwise you won't see the options)
  3. Go to "Edit > Preferences".
  4. Now you shoould see an icon labeled "Import-Export" in the left column. Select that.

Tips and Tricks

Sometimes DXF Files don't seem to import although they open up in 2D-DXF-CAD-Programs. In this case untick the option "join geometry" and try again. Often this solves the problem. But remember that maybe now you won't have coincident end-of-line-points. You will have to make them coincident yourself.

Good luck on importing.