PCB-Design: Eagle Library: Unterschied zwischen den Versionen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche
(Change font on layers 25, 26, 37 and 28 to vector)
 
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
by: [[Benutzer:DCEM|DCEM]]
 +
 +
Prefix:
 +
[https://en.wikipedia.org/wiki/Reference_designator Wikipedia: Reference designator]
 +
 +
Polygon:
 +
use Rank to draw polygons into each ohter
 +
 +
Thermal Pads:
 +
Use thermal symbol connected to GND request level swap
 +
use one SMD Pad (TP0) for the surface area
 +
use as much Pads (TP1 - TPX) as needed for heat transfer
 +
 +
qfn packages (or othes small pitch packages) :
 +
use smd pads with roundness 100% (round edges are better for solder paste release)
 +
 +
 
Additional Information regarding PCB-Design.
 
Additional Information regarding PCB-Design.
 
This is a work in progress and will hopefully be updated.
 
This is a work in progress and will hopefully be updated.
 
by: [[Benutzer:DCEM|DCEM]]
 
by: [[Benutzer:DCEM|DCEM]]
  
====Description:====
+
Description:
 
  <nowiki><h1>PART_NAME</h1>
 
  <nowiki><h1>PART_NAME</h1>
 
SHORT_DESCRIPTION
 
SHORT_DESCRIPTION
Zeile 17: Zeile 34:
  
  
 +
== Device ==
 +
Prefix: [https://en.wikipedia.org/wiki/Reference_designator Wikipedia: Reference designator]
  
 +
Value: Turn off if the Device does not have a Value
  
  
Zeile 32: Zeile 52:
 
minimum font size:
 
minimum font size:
 
0,6mm (acceptable readability) - 0,8mm (good readability)
 
0,6mm (acceptable readability) - 0,8mm (good readability)
 +
 +
 +
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]]
 
[[Kategorie:Projekte]]

Aktuelle Version vom 2. März 2019, 22:47 Uhr

by: DCEM

Prefix: Wikipedia: Reference designator

Polygon: use Rank to draw polygons into each ohter

Thermal Pads: Use thermal symbol connected to GND request level swap use one SMD Pad (TP0) for the surface area use as much Pads (TP1 - TPX) as needed for heat transfer

qfn packages (or othes small pitch packages) : use smd pads with roundness 100% (round edges are better for solder paste release)


Additional Information regarding PCB-Design. This is a work in progress and will hopefully be updated. by: DCEM

Description:

<h1>PART_NAME</h1>
SHORT_DESCRIPTION
<h2>Links</h2>
<ul>
   <li>
      <a href="HTTPS_LINK">Datasheet</a><br>
   </li>
   <li>
      <a href="HTTPS_LINK">Product website</a><br>
   </li>
</ul>


Device

Prefix: Wikipedia: Reference designator

Value: Turn off if the Device does not have a Value


Keepout

OC_MOUSER

Silk Screen

PCB-Pool: (t/b)Place and (t/b)Names will be printed

minimum font size: 0,6mm (acceptable readability) - 0,8mm (good readability)


keywords: land pattern, footprint

Eagle Settings

%Appdata%\Cadsoft\Eagle\eaglerc.usr:

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"

$EAGLEDIR/scr


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;


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: (<text.*)layer="(2[5-8])">

with: ${1}layer="${2}" font="vector">

Change font size on layers 25, 26, 27 and 28 (0.6096 --> 0.8128)

Regex replace: (<text.*size=")0.6096(" layer=")(2[5-8])

with: ${1}0.8128${2}${3}