:: DIY EAGLE (cadsoft) hotkey settings

*updated Feb 2017
latest tweaky
set palette 23 0x90994d00;
http://web.mit.edu/xavid/arch/i386_rhel4/help/86.htm


SET PALETTE [index] [X][rgb]
where index is a number in the range 0..63
X = intensity in FF hex
rgb is a hex RGB value like FFFFFF (=white)
normally, set palette xx 0x03FFFFFF, xx starts from 17 all the way till 63 (there are only 64 slots and 16 are default standard)
first 8 are normal, 2nd set of 8 are highlight, and so on. so there are only 4 sets of 8 palettes.
color code helper :
http://www.nthelp.com/colorcodes.htm
so for example
color = 9933FF
normal = set palette 16 0x999933FF
highlighted = set palette 24 0xFF9933FF 



example to set all remaining 3 sets of 8 palletes :
set palette 16 0x5599FFFF;
set palette 17 0x5599FF33;
set palette 18 0x559999FF;
set palette 19 0x55999933;
set palette 20 0x55996699;
set palette 21 0x55FF6600;
set palette 22 0x55FF66FF;
set palette 23 0x55FF33FF;


set palette 24 0x9999FFFF;
set palette 25 0x9999FF33;
set palette 26 0x999999FF;
set palette 27 0x99999933;
set palette 28 0x99996699;
set palette 29 0x99FF6600;
set palette 30 0x99FF66FF;
set palette 31 0x99FF33FF;


set palette 32 0x55990000;
set palette 33 0x55999966;
set palette 34 0x559966FF;
set palette 35 0x55FF66FF;
set palette 36 0x55FFCC00;
set palette 37 0x5500FFCC;
set palette 38 0x5566FF66;
set palette 39 0x5500CCFF;


set palette 40 0x99990000;
set palette 41 0x99999966;
set palette 42 0x999966FF;
set palette 43 0x99FF66FF;
set palette 44 0x99FFCC00;
set palette 45 0x9900FFCC;
set palette 46 0x9966FF66;
set palette 47 0x9900CCFF;


set palette 48 0x55000099;
set palette 49 0x556600CC;
set palette 50 0x55003300;
set palette 51 0x55666600;
set palette 52 0x55009999;
set palette 53 0x556699FF;
set palette 54 0x5500CCFF;
set palette 55 0x5533F900;


set palette 56 0x99000099;
set palette 57 0x996600CC;
set palette 58 0x99003300;
set palette 59 0x99666600;
set palette 60 0x99009999;
set palette 61 0x996699FF;
set palette 62 0x9900CCFF;
set palette 63 0x9933F900;


and we get this



**old post


color for 4 layer is hard. getting the contrast right to spot mistakes...



after a few months of usage ...


HOT key layering in board editing (schematic editing command)


to BACKUP eagle user settings (ie: assigned custom commands, save/backup C:\Documents and Settings\Administrator\eaglerc.usr

CTRL-C >>
(COPY)


BS >>
(DELETE)


F1 >> (ERC)
RATSNEST / ERC ; window fit


F2 >> VIAs
grid ON mil 25 ; change width 6; change shape ROUND; change drill 12 mil ; VIA


Alt F2 >> grid ON mm 0.5


F3 >> WIRE


F4 >> Ripup
Ripup (delete)


F5 >>Route
grid ON mil 5 ; Route ( schematic WIRE)


F6 >>Wire
grid ON mil 5 ; Wire


F7 >> Move Stuff
(Move)


SHIFT-F7 >> Move Stuff (mm)
grid ON mm 1; Move







F8 >>PACKAGE outline. RATSNEST hunting
DISPLAY NONE 18 19 21 22 ; grid ON mil 5; RATSNEST


F9 >>TOP+ BOTTOM editing (FINE)
DISPLAY NONE 1 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 44 45 48 49 51 52 100 112 123 124 225 248 249 250 254 ; grid ON mil 25


F10 >>TOP editing


DISPLAY NONE 1 17 18 19 20 21 23 25 29 44 45 48 49 51 104 106 107 112 123 125 127 131 151 249 250 ; grid ON mil 25


F11 >>BOTTOM editing
DISPLAY NONE 16 17 18 19 20 22 24 26 30 44 45 48 49 52 104 116 124 126 128 132 151 249


F12 >> BOARD reset, lettering normalize. SEEEDstudio setting
grid ON mm 1 ; LAYER 20; WIRE 0 (0 0) (0 50) ;WIRE 0 (0 50) (50 50); WIRE 0 (50 50) (50 0) ; WIRE 0 (50 0) (0 0) ; run normalize-text.ulp ; grid ON mil 25


for scripts ... (which may not be required if you could do the above keys )
copy the text in red, save via notepad into a xxx.SCR file, stuff that into the assigned SCR folder, and then it will allow eagle to open that whenever you select RUN SCRIPT ... OR even better hot key SCRIPTS instantly to RUN


new board general presetting : (for SEEED studio fab 5cm x 5cm)


#default visible layers
DISPLAY NONE 1 16 17 18 19 20 21 22 23 24 25 26 39 40 41 42 48 49 50 51 52;


#units are in mil
grid ON mil 50 ALT mil 12.5;
#makes small vias, (drill 35; #35 for power)
#wire, pad and drill settings
change width 8;
change shape ROUND;
change drill 12; #20 for signals


#MAKE 5cm BOARD @ approx 1968 mils
LAYER 20;
DELETE (c> 0 0);
WIRE 0 (0 0) (0 1968)
WIRE 0 (0 1968) (1968 1968)
WIRE 0 (1968 1968) (1968 0)
WIRE 0 (1968 0) (0 0)


# manually normalize and smash text, select mils, text size 40, thickness 7
RUN normalize-text.ulp


if you have hot keyed this SCRIPT, hitting it multiple times will just keep spamming the same commands (harmlessly) and spew the ULP normalize applet


show only top layer (with cream layer)
display none 1 17 18 19 20 21 23 25 27 29 44 45 46 47 48 51;


show only bottom layer
display none 16 17 18 19 20 22 24 26 28 44 45 46 47 52;


default show layers (top+bottom)... without cream layer
display none 1 16 17 18 19 20 21 22 23 24 25 26 39 40 41 42 48 49 50 51 52


show only airwires
display none 19 20


for schematic


display none 91 92 94 95 96 97 98




re-arranging hot keys to speedup general editing (especially in board window)
1) F1 --> refresh ratsnest (manual route hot tool)
2) F3 --> WIRE (manual route hot tool)
3) F4 --> Ripup (manual route hot tool)
4) F5 --> Route (manual route hot tool)
5) F8 --> default show layer
6) F9 --> show top
7) F10 -> show bottom
8) F11 -> show AIR
  1. F12 -> preset PCB/via

for SEEED studio users, minimum silkscreen text printable size is 6mils thickness. (see their comprehensive PCB fabbing spec here --> http://www.seeedstudio.com/service/index.php?r=st/specification)


SEEED is one of the many PCB prototyping fabs around the world, and for my locality and entry level requirements, they are so far certainly the cheapest @ approx USD14 for 10 x 5cm square PCB (including shipping to me). from file upload to actually them churning out the board seem to be at about 8days (however there are users who complained their lack of service standards, which i agree to some extent is true. but because i have never tried any expensive options, do you get more service from the more expensive fabs? example OSHpark? @ over USD30 for 5cm square pcbs? i do know of some users who complained that even OSHpark drills are not always spot on)


internal refresher note for SEEEDstudio (~rounded up)
smallest track : ~6mils
smallest font : ~32mils @ 6mil thick
smallest ballpark inner trace/vias/pads space(4 layer) : ~8mils
smallest via drill hole :~12mil
smallest non via hole : ~32mil
most common PCB thickness : 0.8mm - 1.6mm
smallest solder mask clearance : ~6mil (rounded up)


but best of all is the downloading of their CAM setup, 1 click and the board is "gerberized". so until i have more electronic shit to stuff into schematics, i could try panelizing, but @ USD14 shipped, i might as well hit all the prototypes into 5cm squares !


what an irony, to use SEEEDstudio to make a PCB mill, in order to make PCBs


now how about something fancy?
grid ON mm 1 ; LAYER 20;
WIRE 0 FLAT (0 2) +90 (2 0) ;
WIRE 0 FLAT (2 50) +90 (0 48) ;
WIRE 0 FLAT (50 48) +90 (48 50) ;
WIRE 0 FLAT (48 0) +90 (50 2) ;
WIRE 0 FLAT (0 2) (0 48) ;
WIRE 0 FLAT (2 50) (48 50) ;
WIRE 0 FLAT (50 2) (50 48) ;
WIRE 0 FLAT (2 0) (48 0) ;


the above draws 50x50mm with 2mm rounded curved corners




Comments

Popular Posts