track board thickness on Board Feature
This commit is contained in:
parent
0e5f275b97
commit
e1a0301e35
1 changed files with 4 additions and 0 deletions
|
@ -226,10 +226,14 @@ class BoardObject(BaseObject):
|
|||
feature.addProperty('App::PropertyPlacement', 'BoardOffset', 'KiConnect', 'Internal offset for zeroing out Footprint offset', hidden=True, read_only=True)
|
||||
feature.addProperty('App::PropertyString', 'Doc', 'KiConnect', 'Doc in project to sync with', read_only=True)
|
||||
feature.addProperty('App::PropertyString', 'PolygonId', 'KiConnect', 'Polygon ID for the original outline', hidden=True, read_only=True)
|
||||
feature.addProperty('App::PropertyLength', 'Thickness', 'KiConnect', 'Thickness of PCB', hidden=True, read_only=True)
|
||||
feature.addProperty('App::PropertyVectorList', 'Vectors', 'KiConnect', 'Internal offset for zeroing out Footprint offset', hidden=True)
|
||||
|
||||
feature.Doc = kicad_board.name
|
||||
|
||||
if not feature.Thickness:
|
||||
feature.Thickness = 1.6
|
||||
|
||||
def __getstate__(self):
|
||||
return None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue