Giter VIP home page Giter VIP logo

Comments (4)

tolot27 avatar tolot27 commented on June 22, 2024

Unfortunately, make_TerminalBlock_Phoenix.py does not generate the footprints of the PTSM SMD versions, only the THR versions. How they are generated?

from kicad-footprint-generator.

tolot27 avatar tolot27 commented on June 22, 2024

I'd like to continue with library development. Therefore, it would be great to know if the latest version is committed and pushed. Currently, it does not seem to be the case.

Also, /tree/master/scripts/Resistors_SMD has an old name (should be singular Resistor_SMD) and the README.md inside also contains the plural version. That lead me to the assumption that the most recent version is not pushed.

Indeed, I can create PRs for that but I'd like to be sure...

from kicad-footprint-generator.

evanshultz avatar evanshultz commented on June 22, 2024

Tracking this down is just a matter of using the Git history. In fact, you can do all of this on your own using the web interface. I'll write it out step-by-step so you can do the same in the future.

  1. Browse to one of the SMD footprints you're interested in. Let's go with https://github.com/KiCad/kicad-footprints/blob/master/TerminalBlock_Phoenix.pretty/TerminalBlock_Phoenix_PTSM-0%2C5-2-2%2C5-V-SMD_1x02_P2.50mm_Vertical.kicad_mod.
  2. At the top, you can see that @jkriege2 added them at KiCad/kicad-footprints#37 (commit KiCad/kicad-footprints@0b107f7).
  3. That commit helpfully points out the footprints were copied from the old library at https://github.com/KiCad/Connectors_Phoenix.pretty.
  4. Commits adding the SMD PTSM footprints were at KiCad/Connectors_Phoenix.pretty#42 and KiCad/Connectors_Phoenix.pretty#43.
  5. Those PRs asked if the footprints were scripted but there was no answer to that so I suspect they were hand made.

Therefore, we likely don't have a script for PTSM SMD variants but it would be nice to add them. You may be able to adapt https://github.com/pointhi/kicad-footprint-generator/tree/master/scripts/Connector/Connector_SMD_single_row_plus_mounting_pad to work (I didn't check myself but that is the preferred way if possible).

For resistors, a file in the Resistors_SMD directory instructs the user to go to https://github.com/pointhi/kicad-footprint-generator/tree/master/scripts/SMD_chip_package_rlc-etc where the current (and much better) generator is located.

from kicad-footprint-generator.

tolot27 avatar tolot27 commented on June 22, 2024

Just not to forget renaming the package: KiCad/kicad-footprints/issues/1140

from kicad-footprint-generator.

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.