Date:2015-02-19 09:12:59 (5 years 5 months ago)
Author:Werner Almesberger
Commit:e589e56eeba55342639494f113798009f32e3a32
Message:modules/pogo.fpd, HIERARCHY: add -SILK variants (with silk screen circle)

Files: modules/HIERARCHY (1 diff)
modules/pogo.fpd (3 diffs)

Change Details

modules/HIERARCHY
223223                HDR-20x2-200mil
224224        Pogo
225225            POGO-0906
226            POGO-0906-SILK
226227            POGO-0930
228            POGO-0930-SILK
227229            POGO-0914
230            POGO-0914-SILK
228231            POGO-0908
232            POGO-0908-SILK
229233            POGO-0932
234            POGO-0932-SILK
230235            POGO-0901
236            POGO-0901-SILK
231237            POGO-0929
238            POGO-0929-SILK
232239            POGO-0922
240            POGO-0922-SILK
233241            POGO-0956
242            POGO-0956-SILK
234243Discrete_2P
235244    SMT
236245        Standard
modules/pogo.fpd
1010    hole . __0
1111}
1212
13frame silk {
14    set r = (cd*aspect+clear)/2
15
16    loop if = 1, silk
17
18    __0: vec @(r, 0mm)
19    circ @ . w
20    __1: vec @(-r, 0mm)
21}
22
1323frame pad {
1424    set r = cd*aspect/2
1525
...... 
1828    rpad "1" . __0
1929}
2030
21package "POGO-$name"
31package "POGO-$name$ext"
2232unit mm
2333
2434table
...... 
3747
3848set slack = 0.05mm
3949
50set clear = 0.5mm
51
52table
53    { silk, ext }
54    { 0, "" }
55    { 1, "-SILK" }
56
57set w = 5mil
58
4059frame pad @
4160frame hole @
61frame silk @
4262measx pad.__1 >> pad.__0 -1mm
4363measx hole.__1 >> hole.__0 -(cd*aspect-ph-slack)/2-0.5mm
64measx silk.__1 >> silk.__0 cd*aspect/2+1mm

Archive Download the corresponding diff file

Branches:
master



interactive