You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I'd like to try this on current Kicad (7), but running into issues :
Ok, replace
GetModules(
withFootprints(
seems to help.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 :
isn't
111
already a three-digit integer ?[EDIT] well that error was surely written by the Sphinx, the code has
"111"
instead of111
!Next :
The text was updated successfully, but these errors were encountered: