usage: buzzard.py [-h] [-f FONTNAME] [-s SCALEFACTOR] [-l EAGLELAYERNUMBER]
[-v] [-o {b,ls,lib}] [-n SIGNALNAME] [-u SUBSAMPLING]
[-t TRACEWIDTH] [-a {tl,cl,bl,tc,cc,bc,tr,cr,br}]
labelText
positional arguments:
labelText Text to write on the label
optional arguments:
-h, --help show this help message and exit
-f FONTNAME Typeface to use when rendering the label
-s SCALEFACTOR Text Height in inches (same as EAGLE text size value)
-l EAGLELAYERNUMBER Layer in EAGLE to create label into (default is tPlace
layer 21)
-v Verbose mode (helpful for debugging)
-o {b,ls,lib} Output Mode ('b'=board script, 'ls'=library script,
'lib'=library file)
-n SIGNALNAME Signal name for polygon. Required if layer is not 21
(default is 'GND')
-u SUBSAMPLING Subsampling Rate (smaller values provide smoother
curves with larger output)
-t TRACEWIDTH Trace width in mm
-a {tl,cl,bl,tc,cc,bc,tr,cr,br}
Footprint anchor position (default:cl)
Label text should be enclosed in doublequotes in order to pass certain characters via the commandline. Note: If you're using Windows PowerShell you may need to escape certain characters using the "`" (backward apostrophe/grave)
By default, Buzzard.py will output plain text labels. If you want to make a flag label, you can surround your text with the following
special characters: ()[]/\><
For example:
(capsule)
/forward-slash/
\back-slash\
>flagtail-pointer>
[square]
These tag shape indicators can be mixed and matched as well, i.e. (half-capsule]
When using the -o lib
output format, multiple comma-separated tags can be generated.
Buzzard.py supports using "!" to overline tags in the same way that EAGLE does. For the most predictable results, overlined text should be surrounded by exclamation marks, i.e. in EAGLE, "!INT" will produce overlined text, but it is best practice to write "!INT!" instead.
If you want to use the literal "!" character in your tag, it should be escaped with a leading backslash, i.e. "!"
If you want to use the literal "" character in your tag, it should be escaped with a leading backslash, i.e. "\" A backslash in the first position of a tag string will always be interpreted as a tag shape indicator.
Buzzard.py will attempt to use any TrueType font in the /typeface
directory, but because buzzard cannot read the GPOS tables,
it requires character offsets to be explicitly defined in an eponymous python module. Modules currently exist only for the included
typefaces "Roboto" and "FredokaOne". If a module doesn't exist, but the font is present, buzzard will attempt to generate the tag
without position information.
This argument controls the output size of the tag. Units are height of text in inches. The default is 0.04".
This argument controls which EAGLE layer the tag is written to. Default value is 21 (tPlace)
If something gets borked, try running again with -v
to see what's happening under the hood
This argument controls which format the tag output is generated for
By default, buzzard.py will generate a file called output.scr
which can be run in the board editor.
Library script mode will generate a file called output.scr
which can be run in the library footprint editor.
Library package mode will generate a file called output.lbr
which is an EAGLE library file containing the specified tag/tags
This argument defines the EAGLE signal name of the output, which is only required for metal layers. It is GND
by default.
This argument essentially defines the resolution of the output. A smaller number will produce smoother curves but larger files. Note: Smaller scale factors require smaller subsampling factors
Tracewidth of output in mm
In library package output mode, the position of the anchor point can be specified using the -a
argument. The default value is cl
The following values are permissible:
tl - top left
cl - center left
bl - bottom left
tc - top center
cc - center center
bc - bottom center
tr - top right
cr - center right
br - bottom right