yaqwsx / KiKit

Automation tools for KiCAD
https://yaqwsx.github.io/KiKit
MIT License
1.51k stars 200 forks source link

Unable to create the panel with vcuts #610

Closed OndrejBaran closed 10 months ago

OndrejBaran commented 10 months ago

Prerequisites

KiKit version

kikit, version 1.4.0

KiCAD version

7.0.9

Operating system

Ubuntu 23.04.1

Description

I am trying to follow the very basic example for vcut panelize. I a section "Cuts", I entered layer 44 to insert panel shapes to Edge Cuts layer.

I got this Error message: image

If I try any other layer number, I got the same error message with the number mentioned in the error message.

Mousebites work correctly.

Steps to Reproduce

In the KiKit GUI, fields according to the first example https://yaqwsx.github.io/KiKit/v1.4/panelization/examples/ were filled.

The layer number in section cuts was set to 44.

kikit panelize \ --layout 'rows: 2; cols: 2' \ --tabs 'type: full' \ --cuts 'type: vcuts; layer: 44' \ '/home/ondra/Downloads/test.kicad_pcb' panel.kicad_pcb

yaqwsx commented 10 months ago

This was fixed in b0c1db8. Though, I suggest using layer names instead of numbers as layer numbers are not used in KiCAD UI: ![Uploading Screenshot from 2023-11-15 08-46-19.png…]()