Skip to content

yin0105/DWG_to_PDF_Python_FreeCAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DWG_to_PDF_python

Installing

  1. Download FreeCAD and extract it.
  2. Donwload ODAFileConverter and install it.
  3. Install Python 3.8
  4. Clone this project.
  5. Run pip install -r requirements.txt
  6. Copy "Lib\site-packages\dotenv" folder of python folder to "\bin\Lib\site-packages" of FreeCAD folder

Run

  1. Set SEARCH_FOLDERS(input folders with .dwg files), RESULTS_FOLDER(output folder where .pdf files will be saved) and TEMP_FOLDER in .env file.
  2. Set the path of ODAFileConverter.exe in ODA_PATH variable of .env file
  3. Run Command Prompt
  4. Move to bin folder of FreeCAD folder.
  5. Run following command as: freecad \app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published