-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy patheagle.scr
80 lines (62 loc) · 2.34 KB
/
eagle.scr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Modern Device Default Eagle Configuration Script
# Goes in the tools folder - so Eagle script will need to point to this
# Your prefs may differ :)
# This file can be used to configure the editor windows.
#
# Uncomment this if you want a set of useful default shortcuts!
# Put this in the Scripts folder and rename to eagle.scr
BRD:
# MENU '[designlink22.png] Search and order : Run designlink-order.ulp -general;'\
# '[pcb-service.png] PCB Service : Run pcb-service.ulp;';
# Menu Add Change Copy Delete Display Grid Group Move Name Quit Rect \
# Route Script Show Signal Split Text Value Via Window ';' Wire Write Edit;
SCRIPT MD-Key-assign.scr;
Script MDmenu.scr;
Script MDdefaultcolors.scr;
#Get rid of the extra internal layers
# Layer -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15
#Setup Modern Device Defaults
Change Dunit mil;
Grid mil 25 on;
Grid alt mil 5;
SET SIZE_MENU 15 20 30 32 35 40 48 52 55 60 65 70 80 90;
SET WIDTH_MENU 2 4 5 6 8 10 12 16 20 24 30 35 40 50 60 70;
SET ISOLATE_MENU 4 5 6 7 8 9 10 11 12 14 16 18 20 24 30 36;
SET DRILL_MENU 6 8 9 10 12 14 20 28 30 32 35 39 60 95 106 120;
Change ISOLATE 6; #minimum isolation value on flood plane
Change Size 32; #Font size to start
Change Font Vector; #Make text on board in vector font
Change Ratio 15;
Set WIRE_BEND 1; #Route with 45 degree angles
Change Shape Round; #Make vias round
Change Drill 11mil; #Make via drill
Change Width 10; #Routing width default to 10mil
#changes background color of board (and associated palette) to white
SET PALETTE WHITE
SCH:
Change Dunit mil;
Grid mil 50 off; Grid alt mil 25;
Change Width 10mil;
LBR:
Grid mil 50 on; Grid alt mil 5;
DEV:
Grid mil 25 on; Grid alt mil 5;
SYM:
Change Dunit mil;
Grid mil 100 on; Grid alt mil 5;
Change Width 10mil;
Change Size 60mil;
PAC:
Change Dunit mil;
Grid mil 25 on; Grid alt mil 5;
SET SIZE_MENU 15 20 30 32MIL 35MIL 40MIL 48MIL 52MIL 55 60 65 70 80 90;
SET WIDTH_MENU 2 4 5 6 8 10 12 16 20 24 30 35 40 50 60 70;
SET ISOLATE_MENU 4 5 6 7 8 9 10 11 12 14 16 18 20 24 30 36;
SET DRILL_MENU 6 8 9 10 12 14 20 28 30 32 35 39 60 95 106 120;
Change Size 32; #Font size to start
Change Font Vector; #Make text on board in vector font
Change Ratio 15;
Set WIRE_BEND 1; #Route with 45 degree angles
Change Shape Round; #Make vias round
Change Drill 11mil; #Make via drill
Change Width 6; #For drawing package outlines