Comments (1)
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)
- use advanced features of yaml like data typing/custom data types (things like
- 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
- scripts would be required to follow strict rules like
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)
- Abstract settings from IPC-compliant scripts
- PadArray exclude pad only works with pure numerical initial pin. HOT 3
- Some footprints are generated by the IPC scripts but do not appear in the footprint repo HOT 1
- Crystals generation scripts inconsistency
- Molex KK 254 series drill size too big (conn_molex_kk_254_tht_top.py) HOT 12
- yaml file for mounting holes? HOT 1
- Extratexts generate a line in the footprint even if the string is empty
- Make manage.sh into python script
- pad clearance HOT 3
- Define center pad paste pad grid HOT 3
- documentation for footprint generation, fix pad size? HOT 4
- deprecate 'at' keyword
- SMA footprint
- Similar script directory names HOT 2
- Error in yaml HOT 8
- Footprint generator for AC/DC, DC/DC converters HOT 4
- GitLab migration HOT 1
- Reproducable builds, Basic CI HOT 3
- Offset in Pad not taken into account
- Commandline paramters of ipc_* generators are not described well
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-footprint-generator.