Dxf Importer Install/fr

Description
Cette page explique étape par étape la marge à suivre pour installer l'ensemble des fichiers Draft-dxf-import yorikvanhavre pour pouvoir importer des fichiers au format DXF et DWG dans FreeCAD à l'aide de l'utilitaire de teighafileconverter.

Cet exemple d'installation a été faite dans l'environnement Windows Vista, mais le principe de l’installation de ce système est la même pour Linux.

First step:
Identification de l'emplacement des fichiers macros .FCMacro de FreeCAD.

1 : ouvrez FreeCAD

2 : cliquez Menu > Macro > Macros ou cliquez sur le bouton "Ouvre une boîte de dialogue pour exécuter une macro enregistrée".



3 : la boîte de dialogue s'ouvre

4 : copiez l'adresse de "Destination de la macro" (ici C:\Users\d\AppData\Roaming\FreeCAD\) dans Ubuntu, normalement /home/your_user_name/.FreeCAD



5 : collez l'adresse dans votre explorateur et confirmez



6 : laissez votre explorateur ouvert



7 : Close FreeCAD

Second step:
Download the files

8 : download files on the page https://github.com/yorikvanhavre/Draft-dxf-importer

9 : and click the icon button for the default version (or choice for your development version see down page).



10 : you must extract the file to a temporary directory (here c:\tmp)



11 : the decompresser creates a new folder named "Draft-dxf-import-master"



12 : the files are in this folder select all the files and "Cut"



13 : paste the files in the folder FreeCAD macros in the explorer open (step 6) (C:\Users\d\AppData\Roaming\FreeCAD\)

In Ubuntu, this is normally /home/your_user_name/.FreeCAD



14 : Open FreeCAD click the button, the necessary files in DXF format are present, close the window "Execute macro



15 : load your DXF file



16 : DXF file can be used



VERSIONS

This repository contains several versions of the DXF importer. The default version, that you download when you press the "download ZIP" button above, is always the version needed by the current stable version of FreeCAD.

If you use another version of FreeCAD, for example a development version or an older version, you might also need another verison of this DXF library. You can find out which version of the DXF library is needed by your version of FreeCAD, by entering the following code in the FreeCAD python console:

Third step:
Download Teigha converter for use DWG files

17 : teighafileconverter download on teighafileconverter page



18 : choose the version that suits your Qt and OS



19 : and install it on your system

20 : open FreeCAD and click the button "Open a dialog to let you execute a macro Recorded"

21 : close the macros window

22 : and activate the Draft workbench



23 : now let's get into the options page DXF / DWG click "Menu > Edit > Preferences"



24 : select "Draft > DXF / DWG options" tab

25 : In the DWG format option section, click the 3 points ...

26 : to give way Teigha converter that FreeCAD will use to convert DWG to DXF

27 : enter in the directory here in Window here "C:/Program Files/ODA/Teigha File Converter 4.00.1/" and select TeighaFileConverter.exe and confirm



28 : the operation is completed click the you can test a DWG file



Fourth step:
Using Teigha. Teigha is a full program and you can use it without FreeCAD



1 : Imput folder: folder path or are the DXF or DWG files to convert

2 : Output folder: path to the destination folder for the converted files

3 : Recurse folder:

4 : Audit:

5 : Input files filter: filter for only DXF, DWG or DXF and DWG 6 : Output release: the file will be converted to the format and the selected version

7 : Start: launches the process