Giter Site home page Giter Site logo

kicad_picknplace_assistant's People

Contributors

pwuertz avatar tohyf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kicad_picknplace_assistant's Issues

multiple component values per page mode

Would it be difficult to add a parameter to the script to allow grouping of multiple values per page, with each value highlighted in a different color and the value legend printed in the corner?

may be options like:

--max-references-per-page
--max-groups-per-page <1 - 5>

It would be convenient to combine on the same solder map footprints which have only a small qty per board .

update to newer kicad API

I'd like to try this on current Kicad (7), but running into issues :

AttributeError: 'BOARD' object has no attribute 'GetModules'

Ok, replace GetModules( with Footprints( seems to help.

AttributeError: module 'pcbnew' has no attribute 'BOARD_GetStandardLayerName'

Ok, a bit tricker, not sure if strictly correct : replace that bit with pcbnew.BOARD.GetLayerName(pcb,layer)

And then, this one has me stumped :

Traceback (most recent call last):
  File "..../kicad_picknplace_assistant.py", line 220, in <module>
    create_board_figure(pcb, bom_row, layer=layer)
  File "..../kicad_picknplace_assistant.py", line 16, in create_board_figure
    ax = plt.subplot("111", aspect="equal")
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/matplotlib/pyplot.py", line 1425, in subplot
    key = SubplotSpec._from_subplot_args(fig, args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/matplotlib/gridspec.py", line 574, in _from_subplot_args
    raise ValueError(
ValueError: Single argument to subplot must be a three-digit integer, not '111'

isn't 111 already a three-digit integer ?
[EDIT] well that error was surely written by the Sphinx, the code has "111" instead of 111 !

Next :

AttributeError: 'FOOTPRINT' object has no attribute 'GetFootprintRect

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.