yaqwsx / EasyEDAFootprintScraper

Download EasyEDA footprints for KiCAD. Suitable for JLC PCB SMT Assembly
MIT License
81 stars 15 forks source link

3D packages are bigger than PCB footprints. #2

Open bsaid opened 3 years ago

bsaid commented 3 years ago

How to reproduce it: Convert any LCSC component, for example C319164. ./fetchComponent.py fetchlcsc --kicadLib test.pretty --force C319164 The output test.3dshapes contains bigger models than the PCB footprints.

Workaround: Set scale 0.4 for each axis in KiCad. (Pcbnew - Footprint Properties - 3D Settings - Scale)

neggles commented 3 years ago

This is an issue on the LCSC/EasyEDA side

Some of their STEP models are scaled so that 1 unit = 1 inch, KiCad expects 1 unit = 1cm You'll find the actual scale you want to use is 1 / 2.54 or 0.3937007874 (I usually just do 0.3937)