Node bindings for scripting in addition to Python?

I’ve been wanting to do some scripting, typically CLI, not inside kicad app scripting console. To me however, it’s a big investment to have to touch Python. So I’ve been instead doing parsing of the s-expression files and doing stuff with Purescript and Typescript. Haven’t gotten far though and then I just realized that the thing I wanted to do could probably be achieved with not that many lines of code using the Python API. So now I took that approach…

HOWEVER, then I realized when looking in pcbnew.py that it seems to be autogenerated by SWIG:

This file was automatically generated by SWIG (http://www.swig.org).

Would it be a bit thing to try to autogenerate JS bindings for Node too? I would soo much want that…

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.