Skip to content

Commit

Permalink
[PCB Print][Fixed] Missing edge cuts in the list of visible layers
Browse files Browse the repository at this point in the history
- When forced
- This is needed and helps to avoid hitting a bug in KiCad

Fixes #532
  • Loading branch information
set-soft committed Dec 18, 2023
1 parent 8194760 commit 0972914
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kibot/out_pcb_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0972914

Please sign in to comment.