track board thickness on Board Feature

This commit is contained in:
Morgan 'ARR\!' Allen 2025-05-16 18:05:46 -07:00
parent 0e5f275b97
commit e1a0301e35

View file

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