WIP: BOM modes

This commit is contained in:
Daniel Rojas 2021-10-31 21:17:48 +01:00 committed by KV
parent b03dfc7030
commit d8a6da373f

View File

@ -17,6 +17,14 @@ BomHash = namedtuple("BomHash", BOM_HASH_FIELDS)
BomHashList = namedtuple("BomHashList", BOM_HASH_FIELDS)
PartNumberInfo = namedtuple("PartNumberInfo", "pn manufacturer mpn supplier spn")
BomMode
"normal" # no bubbles, full PN info in GV node
"bubbles" # = "full" -> maximum info in GV node
"hide PN info"
"PN crossref" = "PN bubbles" + "hide PN info"
"additionally: BOM table in GV graph label (#227)"
"title block in GV graph label"
BomCategory = IntEnum( # to enforce ordering in BOM
"BomEntry", "CONNECTOR CABLE WIRE ADDITIONAL_INSIDE ADDITIONAL_OUTSIDE"