TousstNicolas / JLC2KiCad_lib

JLC2KICAD_lib is a python script that generate a component library (schematic, footprint and 3D model ) for KiCad from the JLCPCB/easyEDA library.
MIT License
228 stars 42 forks source link

incorrect filepath generated in the footprint file pointing to the 3d model #43

Closed netweaver1970 closed 1 year ago

netweaver1970 commented 1 year ago

Describe the bug extra drive prefix was added to the filepath of the 3d model in the footprint file. It looks that the current path is used as a prefix instead of the absolute path as specified on the command line. Maybe check if it's an absolute path or relative path and act accordingly when composing the path to be entered in the footprint file pointing to the wrl file.

image

TousstNicolas commented 1 year ago

Thank you for reporting the issue. Unfortunately, I do not have time to fix this issue for now.

You should be able to implement this without difficulties and submit a PR afterwards.

Thanks for your understanding.