Comments (6)
Okay Github optimizes out the two spaces after 50, but believe me that there are two spaces.
from kicad-library-utils.
Hello @leventelist which script exactly you are using? I guess add_part_number.py or update_footprints.py. It would be very handy if you could provide the files to reproduce the issue.
from kicad-library-utils.
I use my own script that uses the sch.py from the kicad-library-utils repo.
You can find my script here:
https://github.com/leventelist/kicad-library-utils/blob/master/sch/update_db_footprints.py
I forked the repo.
To reproduce, you'd need a database, but I guess the update_footprint.py works the same. You can find some sample database here:
http://levente.logonex.eu/cuccok/device_db/db.sqlite
All you need to do is attach an attribute (sorry, I'm a gEDA refugee) to a component on the schematic, and run the script. Value, and the footprint will be changed.
In addition, I realized, that it is KiCad that add extra space, and the script adds just one space. Anyways, it produces extra diffs.
Please note that I am willing to add my database system to KiCad, if there's any interest.
Thanks,
Levente
from kicad-library-utils.
I remember this space issue was fixed already on KiCad side. Do you have a recent version?
In the PR KiCad/kicad-library#464 @diggit says about have the build 6631 or higher.
from kicad-library-utils.
This schematic was saved by KiCad 4.0.4. I don't know what does 6631 to version numbers.
http://levente.logonex.eu/cuccok/kicad_net/cpu.sch
HTH,
Lev
from kicad-library-utils.
I can confirm the extra space is added by KiCad. Because this is a kicad issue I'm closing the issue.
from kicad-library-utils.
Related Issues (20)
- Fix: KiCad Logos: Master Update to Build HOT 1
- Discrepency between S4.6 check and KCL S4.6 rules HOT 7
- Add check of silkscreen clearance to exposed copper (F5.1) HOT 5
- Readme is missing `comparelibs.py` HOT 1
- Travis checks for packages3D HOT 5
- Error following modification of check scripts HOT 14
- Schematic line ending test failing HOT 3
- kicad-library-utils don't work HOT 7
- travis git diff behaves strangely for pull requests based on old common commits
- Travis does not check symbol if only DCM file is changed HOT 2
- S4.3 pin stacking not reliable enough HOT 2
- schlib.py - With each save a new #End Library is appended
- schlib.py - Components don't remove successfully HOT 1
- GitLab Library Utils migration HOT 3
- S6.3.2 check for space-separated keywords HOT 1
- F7.4 improve detection of vias
- Symbol library version control? HOT 2
- F5.3 and checking non-line elements HOT 6
- pin_name_offset HOT 1
- The list of datasheets is unfortunately somewhat old and therefore incomplete. Complete series like STM32G4 are missing. HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kicad-library-utils.