Source File | {source} |
BoM Date | {date} |
Schematic Version | {version} |
Schematic Date | {date} |
PCB Variant | {variant} |
KiCad Version | {version} |
Component Groups | {n} |
Component Count (per PCB) | {n} |
Fitted Components (per PCB) | {n} |
Number of PCBs | {n} |
Total Component Count (for {n} PCBs) | {t} |
KiCad Fields (default)
\n'.format(bg=BG_KICAD)) + html.write('Generated Fields
\n'.format(bg=BG_GEN)) + html.write('User Fields
\n'.format(bg=BG_USER)) + html.write('Empty Fields
\n'.format(bg=BG_EMPTY)) + + # Component groups + html.write('\n") + + for i, h in enumerate(headings): + # Cell background color + bg = bgColor(h) + html.write('\t | {h} | \n'.format( + h=h, + bg=' bgcolor="{c}"'.format(c=bg) if bg else '') + ) + + html.write("
---|---|
{n} | \n'.format(n=rowCount)) + + for n, r in enumerate(row): + + if (len(r) == 0) or (r.strip() == "~"): + bg = BG_EMPTY + else: + bg = bgColor(headings[n]) + + html.write('\t{val} | \n'.format(bg=' bgcolor={c}'.format(c=bg) if bg else '', val=link(r))) + + html.write("
" + self.name + " " + self.chars + " |
|