Bom scripts: Update comments in scripts (no code change)

This commit is contained in:
jean-pierre charras 2017-05-13 08:18:06 +02:00
parent 305a166e95
commit c3698dabb1
7 changed files with 22 additions and 2 deletions

View File

@ -9,6 +9,9 @@
Components are sorted by ref and grouped by value
Fields are (if exist)
Item, Qty, Reference(s), Value, LibPart, Footprint, Datasheet
Command line:
python "pathToFile/bom_csv_grouped_by_value.py" "%I" "%O.csv"
"""
from __future__ import print_function
@ -25,7 +28,6 @@ def myEqu(self, other):
In this example of a custom equivalency operator we compare the
value, the part name and the footprint.
"""
result = True
if self.getValue() != other.getValue():

View File

@ -10,6 +10,9 @@
Components are sorted by ref and grouped by value with same footprint
Fields are (if exist)
'Ref', 'Qnty', 'Value', 'Cmp name', 'Footprint', 'Description', 'Vendor'
Command line:
python "pathToFile/bom_csv_grouped_by_value_with_fp.py" "%I" "%O.csv"
"""
# Import the KiCad python helper module and the csv formatter

View File

@ -11,6 +11,9 @@
One component per line
Fields are (if exist)
Ref, value, Part, footprint, Datasheet, Manufacturer, Vendor
Command line:
python "pathToFile/bom_csv_sorted_by_ref.py" "%I" "%O.csv"
"""
from __future__ import print_function

View File

@ -10,6 +10,9 @@
Components are sorted and grouped by ref
Fields are (if exist)
Ref, Quantity, Value, Symbol, footprint, Description, Vendor
Command line:
python "pathToFile/bom_html_by_value.py" "%I" "%O.csv"
"""

View File

@ -9,6 +9,9 @@
Components are sorted by ref and grouped by value
Fields are (if exist)
Ref, Quantity, Value, Part, Datasheet, Description, Vendor
Command line:
python "pathToFile/bom_html_grouped_by_value.py" "%I" "%O.csv"
"""
from __future__ import print_function

View File

@ -10,6 +10,9 @@
Components are sorted and grouped by value
Fields are (if exist)
Ref, Quantity, Value, Part, Footprint, Description, Vendor
Command line:
python "pathToFile/bom_with_advanced_grouping.py" "%I" "%O.csv"
"""

View File

@ -3,12 +3,15 @@
#
"""
@package
Generate a BOM list file.
Generate a BOM list file (a simple text).
Components are sorted by ref
One component per line
Fields are (if exist)
Ref, Quantity, value, Part, footprint, Description, Vendor
Fields are separated by tabs
Command line:
python "pathToFile/bom_sorted_by_ref.py" "%I" "%O.csv"
"""
from __future__ import print_function