From 0972914f08afe0a2a64a9cd11d41f022fd20a09a Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 18 Dec 2023 18:48:03 -0300 Subject: [PATCH] [PCB Print][Fixed] Missing edge cuts in the list of visible layers - When forced - This is needed and helps to avoid hitting a bug in KiCad Fixes #532 --- kibot/out_pcb_print.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index 429a757f..caff6c54 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -1099,6 +1099,8 @@ def generate_output(self, output): vis_layers = LSET() for la in p.layers: vis_layers.addLayer(la._id) + if self.force_edge_cuts: + vis_layers.addLayer(edge_id) GS.board.SetVisibleLayers(vis_layers) # Use a dir for each page, avoid overwriting files, just for debug purposes page_str = "%02d" % (n+1)