[Panelize][Add] Dimensions

This commit is contained in:
Simon 2023-08-25 01:43:27 -07:00 committed by Salvador E. Tropea
parent 2621caffd6
commit 94507fb7df
2 changed files with 4 additions and 0 deletions

View File

@ -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*

View File

@ -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):