From 94507fb7dfe75fafbbd325e8209c328c3bc89e04 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 25 Aug 2023 01:43:27 -0700 Subject: [PATCH] [Panelize][Add] Dimensions --- docs/samples/generic_plot.kibot.yaml | 2 ++ kibot/out_panelize.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/samples/generic_plot.kibot.yaml b/docs/samples/generic_plot.kibot.yaml index e9ebbdf1..1191e883 100644 --- a/docs/samples/generic_plot.kibot.yaml +++ b/docs/samples/generic_plot.kibot.yaml @@ -1876,6 +1876,8 @@ outputs: scriptarg: '' # [string='auto'] [auto] Currently fixed type: 'auto' + # [boolean=false] Draw dimensions with the panel size. + dimensions: false # [dict] Used to adjust details of which part of the PCB is panelized source: # [number|string] Bottom right X coordinate of the rectangle used. Used for *rectangle* diff --git a/kibot/out_panelize.py b/kibot/out_panelize.py index 57ea5954..e07ddc05 100644 --- a/kibot/out_panelize.py +++ b/kibot/out_panelize.py @@ -430,6 +430,8 @@ class PanelizePost(PanelOptions): """ [tl,tr,bl,br,mt,mb,ml,mr,c] Specify if the auxiliary origin an grid origin should be placed. Can be one of tl, tr, bl, br (corners), mt, mb, ml, mr (middle of sides), c (center). Empty string does not changes the origin """ + self.dimensions = False + """ Draw dimensions with the panel size. """ super().__init__() def config(self, parent):