Skip to content

Latest commit

 

History

History
85 lines (63 loc) · 3.09 KB

README.md

File metadata and controls

85 lines (63 loc) · 3.09 KB

Python Patch Bay Label Generator

Features

  • Store patch bay routing definitions as code
  • Use version control to track changes to patch bay layout
  • Auto generate labels

Printer & Tape

(small enough to fit the Neutrik 1/4" patch bays I'm using)

How to use

I've got my personal patch config saved in this repo. At some point I'll remove the config code from the generation script and make this easier to use for others. You can fork the repo, or pull it and modify.

Editing Patch bay config

  • Config is a list of objects, formatted like so:
[
  {
    "label_name": "patch-bay-1",
    "entries": [
        {
            "normalled": True,
            "top": "1-24 Inputs",
            "bottom": "1-24 Outputs",
            "width": 24
        },
    ]
  }
]
  • Width allows you to group things together under the same label
  • Normalled: script will generate an underline to visually notify that a patch point is normalled
  • Code is currently set to enforce 24 points per bay. This can be modified in the python

Generating patch label files

  • Run bash generate.sh
  • Your images should be exported to label_outputs
  • Commit your output images if you want to keep them in version control

Printing

  • Download some drivers?? I don't remember what I did here...

  • Add Brother printer to your list of printers

  • Printer will have a series of pre-set page sizes. Disregard all of these

  • Click on Manage Custom Sizes

  • Create a new page size to match the settings in your python file.
    • I'm using 17" width, and .14" height for the .13 tape.

  • Auto rotate and Scale to Fit settings seem to work

  • Print!