Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

PCB-Design: Eagle Library

1.425 Byte hinzugefügt, 21:47, 2. Mär. 2019
/* Change font on layers 25, 26, 37 and 28 to vector */
== Device ==
Prefix: [https://en.wikipedia.org/wiki/Reference_designator Wikipedia: Reference designator]
 
Value: Turn off if the Device does not have a Value
keywords:
land pattern, footprint
 
== Eagle Settings ==
 
%Appdata%\Cadsoft\Eagle\eaglerc.usr:
<nowiki>
Brd.CommandPopup.Display.1 = "DEF_TOP_BOTTOM;none 1 16 17 18 19 20 21 22 23 24 45 51 52"
Brd.CommandPopup.Display.2 = "DEF_TOP;none 1 17 18 19 20 21 23 45 51"
Brd.CommandPopup.Display.3 = "DEF_BOTTOM;none 16 17 18 19 20 22 24 45 52"
Brd.CommandPopup.Display.4 = "SILK_TOP;none 1 17 18 19 20 21 23 25 29 45"
Brd.CommandPopup.Display.5 = "SILK_BOTTOM;none 16 17 18 19 20 22 24 26 30 45"
Brd.CommandPopup.Display.6 = "STOP_TOP;none 1 17 18 19 20 23 29 45"
Brd.CommandPopup.Display.7 = "STOP_BOTTOM;none 16 17 18 19 20 24 30 45"
Brd.CommandPopup.Display.8 = "MIDDLE_2_15;none 2 15 17 18 19 20 45"
 
Sch.WhiteBackground = "1"
Interface.VectorFont = "1"
</nowiki>
 
$EAGLEDIR/scr
<nowiki>
 
BRD:
change diameter auto;
change drill 0.3mm;
change shape round;
change font vector;
 
PAC:
grid mm 1 lines on alt mm 0.1;
change Width 0.2mm;
change Size 0.032in;
</nowiki>
 
 
== Dangerous Stuff ==
It is possible to edit Eagle Files directly since they are xml files.
 
=== Change font on layers 25, 26, 27 and 28 to vector ===
Regex replace:
<code>(<text.*)layer="(2[5-8])"></code>
 
with:
<code>${1}layer="${2}" font="vector"></code>
 
=== Change font size on layers 25, 26, 27 and 28 (0.6096 --> 0.8128) ===
Regex replace:
<code>(<text.*size=")0.6096(" layer=")(2[5-8])</code>
 
with:
<code>${1}0.8128${2}${3}</code>
 
 
[[Kategorie:Projekte]]
610
Bearbeitungen