opmcoils.panels.load_panel#
- opmcoils.panels.load_panel(path, standoff=1.4, flip=None, rearrange=False)[source]#
Loads and returns PCBPanel
- Parameters:
- pathstring
path to pcb folder.
- standofffloat
distance between the two instances of the board.
- fliplist of str | dict
names of which halves of the pcbs to flip. If it is a dict, the keys are the names of the halves and values are the chain index.
- rearrangebool
whether to treat ‘first/second’ halves as ‘top/bott’
- Returns:
- panelPCBPanel
panel object for the given pcb panel.