order module#

The order sheet: what a human needs to place the order correctly.

Documentation, not a machine-readable artifact, and deliberately not a design rule check. It reports the parameters JLCPCB’s form asks you to select; the runtime already answers whether the design meets them.

FINISH = 'HASL (with lead)'#

PRELIMINARY. JITX cannot describe a surface treatment in a stackup, so there is nothing to read off the substrate and no side channel worth inventing for designs to adopt; see plans/stackup-revision-plan.md section 4.3. This is JLCPCB’s order-form default so that confirming the form unchanged agrees with this sheet, and it must be checked against the live form.

ROGERS_FINISH = 'ENIG'#

PRELIMINARY, for the same reason as FINISH. On a Rogers board JLCPCB’s order form allows only ENIG or OSP and selects ENIG when Rogers is chosen (the form’s own script, read 2026-11-08); their capabilities page lists high-frequency boards among those that do not support HASL. Their high-frequency PCB page lists ENIG as the only finish, so the two JLCPCB sources disagree on OSP; the sheet defaults to ENIG, which both allow.

class Sheet(design, inventory, lines, board, substrate, shape=None)[source]#

Bases: object

Everything the order sheet reports.

Parameters:
design: str#
inventory: Inventory#
lines: list[Line]#
board: Board#
substrate: Any#
shape: Any = None#

The board outline, straight off the design. Dimensions come from here rather than from the gerber result: the shape is what the design states, and the exporter already has it.

write(path, sheet)[source]#
Return type:

None

Parameters:
render(sheet)[source]#
Return type:

str

Parameters:

sheet (Sheet)