KiCad / kicad-library-utils

Some scripts for helping with library development
GNU General Public License v3.0
128 stars 95 forks source link

pin_name_offset #330

Open pthomas opened 4 years ago

pthomas commented 4 years ago

Hello, I was playing with the symbol generator tools, and then running checklib.ph which was reporting:

  Violating S3.6
    Pin name position offset
    Pin offset not preferred value
     - Pin offset (40) should be 20mils unless required by symbol geometry

I changed line 202 of SymbolGenerator.py to: self.pin_name_offset = int(kwargs.get('offset', 20)) And this seemed to resolve the checklib violation. I can send a pull request if that would be better.

thanks, Paul

poeschlr commented 4 years ago

Pull requests are generally a better idea if one already knows what to fix.