sparkfunX / Buzzard

Software tools for EAGLE silkscreen generation
100 stars 18 forks source link

Tag shape labels at start/end can't be escaped #35

Open sfe-SparkFro opened 2 years ago

sfe-SparkFro commented 2 years ago

When running makeLabel in EAGLE, the tag shape characters ()[]/\>< can't be escaped with a \ when creating a plain text label.

For example, running the command run makeLabel "[0x12 \(Default\)]" creates a flag label as expected:

image

Whereas running the command run makeLabel "0x12 \(Default\)" does not create a plain text label as expected:

image

sfe-SparkFro commented 2 years ago

Actually after a bit more testing, it appears to be that if either the first or last character is one of ()[]/\><, then it cannot be escaped, and a flag label is generated rather than plain text. Adding a space to the end of the string (eg. run makeLabel "0x12 \(Default\) ") does create the plain text label as expected:

image