FreeCAD et importation DXF

From FreeCAD Documentation
Revision as of 20:15, 9 May 2018 by Mario52 (talk | contribs) (Created page with "Tutorial: Dxf Importer Install")

Mentions légales

Pour pouvoir importer des fichiers au format DXF, vous devez installer manuellement plusieurs fichiers. Pourquoi ça ? Ces bibliothèques sont publiées avec une autre licence que FreeCAD, donc les développeurs de FreeCAD ne peuvent pas les inclure dans l'application FreeCAD.

Comment l'installer installer

Pour installer Draft-dxf-importer:

  1. Allez sur Yorik's Github account et téléchargez ces fichiers (sur le côté droit, vous pouvez choisir "télécharger le ZIP").
  2. Placez les fichiers dans votre dossier de macros.
  • Avec Ubuntu, normalement
/home/your_user_name/.FreeCAD 

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

  • Avec Windows, votre répertoire (standard)est
C:\Users\your_user_name\AppData\Roaming\FreeCAD

Si vous n'êtes pas sûr de l'emplacement de votre répertoire de macros,

  1. ouvrez FreeCAD et allez dans "Edition → Préférences",
  2. sélectionnez "Général" dans la colonne de gauche et sélectionnez la catégorie "Macro" dans le coin supérieur droit de la fenêtre des préférences. Il devrait y avoir un champ nommé "Macro Path".

Tutorial: Dxf Importer Install

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 without problems.
You can try:

  1. Go to Edit → Preferences → Import/Export → DXF/DWG and untick the option "join geometry" and try again.
  2. Remember that maybe now you won't have coincident end-of-line-points. You will have to make them coincident yourself.
  3. You can do this with the command "Close Shape" in the sketcher workbench (needs version 0.15) or you can apply the constraints manually

You can also try:

  1. Go to Edit → Preferences → Draf → General and adjust the value of "Tolerance" (default: 0,05)
  2. Try again

Good luck on importing.