[kicad-users] Re: Adding a Logo or Art to Silkscreen

2009-10-16 Thread raoulduke_esq
Change the variable called layer to something other than 21. BEGIN { state = 0; step = 40; layer = 21; fg = 1; bg = 0; } raoul --- In kicad-users@yahoogroups.com, josh_eeg josh...@... wrote: so how do I change the layer in the code? --- In kicad-users@yahoogroups.com, raoulduke_esq

[kicad-users] Re: Adding a Logo or Art to Silkscreen

2009-10-09 Thread raoulduke_esq
it output the logo correctly? If it is a working script could it be uploaded here or somewhere for others? Do I run that line in the command prompt? --- In kicad-users@yahoogroups.com, raoulduke_esq raoulduke_esq@ wrote: For fun, make the first line of the awk script: #!/usr/bin/awk -f

[kicad-users] Re: Adding a Logo or Art to Silkscreen

2009-10-09 Thread raoulduke_esq
. --- In kicad-users@yahoogroups.com, raoulduke_esq raoulduke_esq@ wrote: I'm sorry, I didn't mean to be cryptic. Below is the latest version of my awk script. For non-Unix/Linux people, awk is a scripting language written many, many years ago and named for the initials of the three guys

[kicad-users] Adding a Logo or Art to Silkscreen

2009-10-08 Thread raoulduke_esq
Pardon me if I am just being obtuse, but I could find no easy way to add an image or artwork to a layout. I've tried pstoedit but that utility (in addition to being broken if you are in a directory path that has a space in it) only works for text. Because I am under the gun, I had to gin up

[kicad-users] Re: Adding a Logo or Art to Silkscreen

2009-10-08 Thread raoulduke_esq
OK, I suck. My first code did not properly handle the case of a line that starts with the fg color, much less an entire line of fg color. Let's try this again (sorry that Yahoo eats my indentation): Cut Here # This script will take an ASCII PBM BW file and convert it

[kicad-users] Re: Adding a Logo or Art to Silkscreen

2009-10-08 Thread raoulduke_esq
, raoulduke_esq raoulduke_esq@ wrote: Pardon me if I am just being obtuse, but I could find no easy way to add an image or artwork to a layout. I've tried pstoedit but that utility (in addition to being broken if you are in a directory path that has a space in it) only works for text

[kicad-users] Re: Adding a Logo or Art to Silkscreen

2009-10-08 Thread raoulduke_esq
$EndMODULE and you're done. raoul --- In kicad-users@yahoogroups.com, raoulduke_esq raoulduke_...@... wrote: OK, I suck. My first code did not properly handle the case of a line that starts with the fg color, much less an entire line of fg color. Let's try this again (sorry that Yahoo eats my