tendril.boms.outputbase module¶
This file is part of tendril See the COPYING, README, and INSTALL files for more information
-
class
tendril.boms.outputbase.
OutputElnBomDescriptor
(pcbname, cardfolder, configname, configurations, multiplier=1, groupname=None)[source]¶ Bases:
object
-
class
tendril.boms.outputbase.
OutputBomLine
(comp, parent)[source]¶ Bases:
tendril.boms.costingbase.SourceableBomLineMixin
-
ident
¶
-
parent
¶
-
refdeslist
¶
-
uquantity
¶
-
quantity
¶
-
quantity_str
¶
-
-
class
tendril.boms.outputbase.
OutputBom
(descriptor)[source]¶ Bases:
tendril.boms.costingbase.CostableBom
-
ident
¶
-
items
¶
-
-
class
tendril.boms.outputbase.
CompositeOutputBomLine
(line, colcount, parent=None)[source]¶ Bases:
tendril.boms.costingbase.SourceableBomLineMixin
-
ident
¶
-
parent
¶
-
collist
¶
-
refdeslist
¶
-
add
(line, column)[source]¶ Add a BOM line to the COBOM
Parameters: - line (
OutputBomLine
) – The BOM line to insert - column (int) – The column to which the line should be added.
- line (
-
quantity
¶
-
quantity_str
¶
-
uquantity
¶
-
-
class
tendril.boms.outputbase.
CompositeOutputBom
(bom_list, name=None)[source]¶ Bases:
tendril.boms.costingbase.CostableBom
-
ident
¶
-
_insert_line
(line, i)[source]¶ Inserts a BOM line into the COBOM
Parameters: - line (
OutputBomLine
) – The BOM line to insert - i (int) – The column to insert the BOM line into
- line (
-
find_by_ident
(ident)[source]¶ Find a line in the COBOM for the given ident.
Parameters: ident – The ident to find in the COBOM Return type: CompositeOutputBomLine
-