bom module#
The bill of materials JLCPCB’s assembly matcher reads.
- MAX_DESIGNATORS = 200#
JLCPCB caps one BOM line at 200 reference designators.
- class Line(comment, designators, footprint, lcsc)[source]#
Bases:
objectOne BOM row: a group of interchangeable parts.
- group(parts)[source]#
Collect parts into BOM lines, splitting at the designator cap.
The key carries the designator prefix because JLCPCB rejects a row holding more than one component type, which they determine by prefix: without it a jumper and a resistor sharing a 0 ohm part number would merge.
- check_designators(parts)[source]#
Refuse designators that collide once JLCPCB uppercases them.
Their BOM page says every letter is capitalised for production, so r1 and R1 are one part there however distinct they are in the design.