diff --git a/README.md b/README.md index e8933f95..f64a53ba 100644 --- a/README.md +++ b/README.md @@ -3436,6 +3436,7 @@ Notes: - *script_arg*: Alias for scriptarg. - `scriptarg`: [string=''] An arbitrary string passed to the user post-processing script specified in script. - `type`: [string='auto'] [auto] Currently fixed. + - `dimensions`: [boolean=false] Draw dimensions with the panel size. - `source`: [dict] Used to adjust details of which part of the PCB is panelized. * Valid keys: - **`type`**: [string='auto'] [auto,rectangle,annotation] How we select the area of the PCB tu used for the panelization. diff --git a/docs/samples/generic_plot.kibot.yaml b/docs/samples/generic_plot.kibot.yaml index 1ed502ee..08ccf950 100644 --- a/docs/samples/generic_plot.kibot.yaml +++ b/docs/samples/generic_plot.kibot.yaml @@ -1853,6 +1853,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 01f1325d..3ce7a48f 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):