plugin module#

JITX export plugin: write a JLCPCB manufacturing and assembly packet.

No from __future__ import annotations in this module, deliberately. The CLI builds its command by rewriting inspect.signature(plugin.export), and typer cannot resolve string annotations; postponed annotations here fail the whole design export command group.

class JLCPCBExport[source]#

Bases: Export

Export a JLCPCB manufacturing and assembly packet.

preflight(*, output=None, overwrite=False, assembly=True)[source]#

Called before anything is instantiatiated or submitted to the runtime to allow an early out in case arguments are invalid. Raise an exception to prevent the export from proceeding.

Overrides:

Export.preflight

Parameters:
export(design, *, output=None, overwrite=False, assembly=True)[source]#
Overrides:

Export.export

Parameters: