Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard-coded paths in python scripts #320

Open
DanSGiesbrecht opened this issue Nov 3, 2019 · 1 comment
Open

Hard-coded paths in python scripts #320

DanSGiesbrecht opened this issue Nov 3, 2019 · 1 comment

Comments

@DanSGiesbrecht
Copy link

I noticed that some scripts for updating footprints have hard-coded paths:
@Misca1234, was this because only you were using them?

Hard-coded paths:

FPDir = '../../../../kicad-footprints/Package_DFN_QFN.pretty'
KISYS3DMOD = '../../../../kicad-packages3D'
FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'`

Files containing hard-coded paths:

grep -rnw -e '/c/users/stefan'
FCAD_script_generator/QFN_packages/FindMissingLGA3DModels.py:87:FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'
FCAD_script_generator/QFN_packages/FindMissingDFN_QFN3DModels.py:87:FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'
FCAD_script_generator/Varistor/FindMissingVaristor3DModels.py:87:FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'
FCAD_script_generator/BGA_packages/FindMissingBGA3DModels.py:88:FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'
FCAD_script_generator/DIP_packages/FindMissingDIP3DModels.py:87:FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'
FCAD_script_generator/GW_QFP_SOIC_SSOP_TSSOP_SOT/FindMissingSOIC3DModels.py:87:FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'
FCAD_script_generator/GW_QFP_SOIC_SSOP_TSSOP_SOT/FindMissingQFP3DModels.py:86:FreeCadExe = '/c/users/stefan/Downloads/FreeCAD_0.17.11223_x64_dev_win/FreeCAD_0.17.11223_x64_dev_win/bin/FreeCAD.exe'
@luzpaz
Copy link

luzpaz commented May 27, 2023

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants