matthewlai / JLCKicadTools

Tool for using JLCPCB assembly service with KiCad
GNU General Public License v3.0
346 stars 62 forks source link

Addition of an extra database file #35

Closed Shackmeister closed 3 years ago

Shackmeister commented 3 years ago

Having an option for an extra database file would be great for personal libraries. This way I wouldn't need to flood the current database with own namescheme FP's :)

matthewlai commented 3 years ago

I am travelling at the moment and don't have kicad set up on my laptop, but can you give this a try? https://github.com/matthewlai/JLCKicadTools/tree/multiple_databases

You should be able to install with something like: pip3 install git+https://github.com/matthewlai/JLCKicadTools.git@multiple_databases

Then you can specify the database argument multiple times. jlc-kicad-tools ... -d first_database.csv -d second_database.csv

sophiekovalevsky commented 3 years ago

@matthewlai, I can confirm that https://github.com/matthewlai/JLCKicadTools/commit/8b895dfa05b56ec4dbfd149524c4c436df41d222 works right of the bat, either by setting absolute and relative db paths.

matthewlai commented 3 years ago

@sophiekovalevsky Amazing thanks for confirming! I'll merge it.