Eigenes Menü – Automatischer Start von Skripten und ULPs
Die Datei eagle.scr wird automatisch gestartet. Er liegt im Ordner $EAGLE/scr
1. die Datei weg kopieren, damit sie beim nächsten Upgrade nicht verloren geht
2. einen Link auf das neue Ziel stellen
3. die Datei eagle.scr editieren; im Bereich brd wird ein Verweis auf das zu startende Skript eingefügt
BRD: ASSIGN C+E ERRORS; ASSIGN CS+D 'DRC;'; # Executes DRC without opening DRC dialog. For dialog sk # ASSIGN CS+D DRC; # Opens DRC dialog. ASSIGN CS+V VALUE; ASSIGN C+R ROUTE; ASSIGN CS+R RIPUP; # ASSIGN A+R RATSNEST; ASSIGN C+H HOLE; ASSIGN CS+S SMASH; ASSIGN A+S SIGNAL; script /ho.../eagle/BoardMenue.scr; #MENU '[designlink22.png] Search and order : Run designlink-order.ulp -general;'\ '[pcb-service.png] PCB Service : Run pcb-service.ulp;'; SCH: Grid Default; Change Width 0.006; … usw …
Boardmenü für Eagle Ver. 6.4
in der Version 5 heißt das ULP DRILLEGEND.ULP anstelle DRILLEGEND-STACK.ULP
DISPLAY = tprint none top pads vias dimension Document centerDrill; #print oben DISPLAY = bprint none bottom pads vias dimension Document centerDrill; #print unten MENU 'Grid {\ 1 mil : Grid line On; mil 1;|\ 10 mils : Grid mil 10; Grid alt mil 0.005; Grid line on;|\ 12.5 mils : Grid mil 12.5; Grid alt mil 6.25; Grid line on;|\ 25 mils : Grid mil 25; Grid alt mil 12.5;Grid line on;|\ 50 mils : Grid mil 50; Grid alt mil 25;Grid line on;|\ 100 mils : Grid mil 100;Grid alt mil 50;Grid line on; |\ --- |\ 0.1 mm : Grid mm 0.1; Grid alt mm 0.05;Grid line On; |\ 1 mm : Grid mm 1; Grid alt mm 0.1;Grid line on; |\ --- |\ On : Grid line On; | \ Off : Grid Off;\ }' \ 'Display {\ Top : Display None tNames Top Pads Vias Dimension Unrouted tKeepout 23 24; |\ Bottom : Display None bNames Bottom Pads Vias Dimension Unrouted bKeepout 23 24; |\ ALL : Display None Top tNames bNames Bottom Pads Vias tKeepout bKeepout Dimension Unrouted 23 24 ; |\ --- |\ Bestückungsplan TOP: Display none 17 18 20 21 25 27 45 51 100 23 24; |\ Bestückungsplan Bottom: Display none 17 18 20 22 26 45 52 100 23 24; |\ Place Top : Display None Top Pads Vias tOrigins tPlace -tValues tKeepout Dimension Unrouted; |\ Place Bottom : Display None Bottom Pads Vias bOrigins bPlace -bValues bKeepout Dimension Unrouted; |\ Place BOTH : Display None Top Bottom Pads Vias tOrigins bOrigins tPlace -tValues bPlace -bValues tKeepout bKeepout Dimension Unrouted; |\ No Origins : Display -tOrigins -bOrigins; |\ --- |\ Silkscreen {\ Top ALL : Display None Top Pads Vi146as tPlace Dimension Unrouted; |\ Bottom ALL : Display None Bottom Pads Vias bPlace Dimension Unrouted; |\ Top Assembly : Display None Pads tPlace Dimension -tValues -tOrigins; |\ Bottom Assembly : Display None Pads bPlace Dimension -bValues -bOrigins; |\ Show Top Silk : Display None Pads Vias tPlace Dimension -tValues -tDocu -tOrigins; |\ Show Bottom silk : Display None Pads Vias bPlace Dimension -bValues -bDocu -bOrigins; |\ Edit Top Silk : Display None Pads Vias tPlace Dimension tStop -tValues -tDocu -tOrigins; |\ Edit Bottom silk : Display None Pads Vias bPlace Dimension bStop -bValues -bDocu -bOrigins; \ } |\ --- |\ Bohrplan: run drillegend-stack.ulp; Display None 20 144 145 ; |\ Layer 144 löschen: display none 144 145; group all; delete (> 1 1); delete DRILEGEND; |\ --- |\ Solder Mask {\ tStop On : Display tStop; |\ tStop Off : Display -tStop; |\ bStop On : Display bStop; |\ bStop Off : Display -bStop; \ } |\ Keepout {\ On : Display tKeepout bKeepout; |\ Off : Display -tKeepout -bKeepout; \ }\ }' \ '---'\ 'Fit : Window Fit;'\ 'Dis for Routing: DISPLAY none 1 16 17 18 20 21 23 51;' \ 'Print T: display none top pads vias dimension Document centerDrill; ratsnest; print 1 MIRROR BLACK SOLID FILE top.pdf;' \ 'Print B: display none bottom pads vias dimension Document centerDrill; ratsnest; print 1 -MIRROR BLACK SOLID FILE bottom.ps;'; GRID MIL; SET WIDTH_MENU 0 10 12 16 20 24 40 80 #SET DRILL_MENU 0.012 0.016 0.02 0.028 0.032 0.036 0.040 0.048 0.052 0.06 0.072 0.1 0.125;