Giter VIP home page Giter VIP logo

Comments (1)

pointhi avatar pointhi commented on September 24, 2024

I would consider #55 as a basis before doing any rewrite.

Some thoughts, which are quite a bit of work, but I would consider necessary for a powerful script system in the future:

  • Develop an official ModArparse successor, based on our experience and the ideas of @poeschlr
    • use advanced features of yaml like data typing/custom data types (things like 1+-0.05mm without hacks) and scheme definitions
    • general naming and structure convention including how files should be formatted (linter)
  • move to the official KiCad codebase. I already started with an abstraction layer: https://github.com/pointhi/kicad-python
    • this would contain a high-level abstraction of the KiCad datatypes as well as helper functions on top of them (like our specialized nodes)
    • KicadModTree would get an additional KiCad backend to help transition
  • make an official scripting repository
    • scripts would be required to follow strict rules like flake8 and basic structuring
    • one command to make them all. The structure would be a bit challenging due to reuse of scripts in different libraries but a worthwhile goal

What would we get?

A reusable set of scripts. Which means one script which is capable of building custom footprints, as well as whole libraries (make/cmake support) which also supports the Footprint Wizard of KiCad out of the box. Think about it: people would only need to edit/reuse a config file and press make. And their customized library appears. When a part is missing you could start the footprint wizard and interactively create a new footprint, as well as export its properties into a yaml file (or import an existing one). If the 3D-scripts are embedded, you could furthermore create the 3D-files with the same script and data files. Both from a gui as well as cli.

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.