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
237 stars 41 forks source link

--model_path_relative argument not recognized #23

Closed Xyntexx closed 1 year ago

Xyntexx commented 2 years ago

--model_path_relative argument not recognized even though it's in the usage in README.md.

Using the argument results in the following error:

usage: JLC2KiCadLib [-h] [-dir OUTPUT_DIR]
                    [-model_base_variable MODEL_BASE_VARIABLE]
                    [--no_footprint] [--no_schematic]
                    [-schematic_lib SCHEMATIC_LIB]
                    [-footprint_lib FOOTPRINT_LIB]
                    [-logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                    [--log_file]
                    JLCPCB_part_# [JLCPCB_part_# ...]
JLC2KiCadLib: error: unrecognized arguments: --model_path_relative
TousstNicolas commented 2 years ago

Hi,

Thank you for your many issues.

I did not update the README after problem #18. The --model_path_relative has been changed to [-model_base_variable MODEL_BASE_VARIABLE].

I will edit the README.

Xyntexx commented 1 year ago

Good work!