diff --git a/kibot/bom/bom.py b/kibot/bom/bom.py index 3d17530c..4ce7d20c 100644 --- a/kibot/bom/bom.py +++ b/kibot/bom/bom.py @@ -365,6 +365,7 @@ def update_fields(self, conv, bottom_negative_x, x_origin, y_origin, angle_posit if not self.fields[ColumnList.COL_DESCRIPTION_L]: self.fields[ColumnList.COL_DESCRIPTION_L] = comp.desc self.fields[ColumnList.COL_NET_NAME_L] = comp.net_name + self.fields[ColumnList.COL_NET_LABEL_L] = comp.net_name.split('/')[-1] self.fields[ColumnList.COL_NET_CLASS_L] = comp.net_class # KiCad attributes self.fields[ColumnList.COL_DNP_L] = self.solve_multiple_attributes('kicad_dnp', 'DNP') diff --git a/kibot/bom/columnlist.py b/kibot/bom/columnlist.py index 8f9f7c42..84ec7d61 100644 --- a/kibot/bom/columnlist.py +++ b/kibot/bom/columnlist.py @@ -66,6 +66,8 @@ class ColumnList: COL_STATUS_L = COL_STATUS.lower() COL_NET_NAME = 'Net Name' COL_NET_NAME_L = COL_NET_NAME.lower() + COL_NET_LABEL = 'Net Label' + COL_NET_LABEL_L = COL_NET_LABEL.lower() COL_NET_CLASS = 'Net Class' COL_NET_CLASS_L = COL_NET_CLASS.lower() # KiCad attributes