Git Product home page Git Product logo

Comments (6)

leventelist avatar leventelist commented on August 9, 2024

Okay Github optimizes out the two spaces after 50, but believe me that there are two spaces.

from kicad-library-utils.

odurc avatar odurc commented on August 9, 2024

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.

leventelist avatar leventelist commented on August 9, 2024

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.

odurc avatar odurc commented on August 9, 2024

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.

leventelist avatar leventelist commented on August 9, 2024

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.

odurc avatar odurc commented on August 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.