diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2017-11-30 20:51:02 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2017-11-30 20:51:02 +0100 |
commit | efa60d73f8912f518a89072653efbceeeac28385 (patch) | |
tree | 62228f27165c3538d6c4cb1cec099fe1c840f520 /templates | |
download | IPC-7351-footprints-generator-efa60d73f8912f518a89072653efbceeeac28385.tar.gz IPC-7351-footprints-generator-efa60d73f8912f518a89072653efbceeeac28385.tar.bz2 IPC-7351-footprints-generator-efa60d73f8912f518a89072653efbceeeac28385.tar.xz IPC-7351-footprints-generator-efa60d73f8912f518a89072653efbceeeac28385.zip |
o Initial import.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/CHIP.j2 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/CHIP.j2 b/templates/CHIP.j2 new file mode 100644 index 0000000..13ee398 --- /dev/null +++ b/templates/CHIP.j2 @@ -0,0 +1,31 @@ +(module {{key}} (layer F.Cu) (tedit 5A2018AF) + (attr smd) + (fp_text reference REF** (at 0 {{sy/-4 * 0.1}}) (layer F.Fab) + (effects (font (size {{sy/5 * 0.1}} {{sy/5 * 0.1}}) (thickness {{sy/5 * 0.015}}))) + ) + (fp_text value VAL** (at 0 {{sy/4 * 0.1}}) (layer F.Fab) + (effects (font (size {{sy/5 * 0.1}} {{sy/5 * 0.1}}) (thickness {{sy/5 * 0.015}}))) + ) + + (fp_text user %R (at 0 {{sy/-4 * 0.1}}) (layer "F.SilkS") + (effects (font (size 0.7 0.7) (thickness 0.1))) + ) + (fp_text user %V (at 0 {{sy/4 * 0.1}}) (layer "F.SilkS") + (effects (font (size 0.7 0.7) (thickness 0.1))) + ) + + {# Outline #} + (fp_line (start {{sx/-20}} {{sy/-20}}) (end {{sx/ 20}} {{sy/-20}}) (layer F.Fab) (width 0.05)) + (fp_line (start {{sx/ 20}} {{sy/-20}}) (end {{sx/ 20}} {{sy/ 20}}) (layer F.Fab) (width 0.05)) + (fp_line (start {{sx/ 20}} {{sy/ 20}}) (end {{sx/-20}} {{sy/ 20}}) (layer F.Fab) (width 0.05)) + (fp_line (start {{sx/-20}} {{sy/ 20}}) (end {{sx/-20}} {{sy/-20}}) (layer F.Fab) (width 0.05)) + + {# Courtyard #} + (fp_line (start {{gx/-2}} {{gy/-2}}) (end {{gx/2}} {{gy/-2}}) (layer F.CrtYd) (width 0.05)) + (fp_line (start {{gx/2}} {{gy/-2}}) (end {{gx/2}} {{gy/2}}) (layer F.CrtYd) (width 0.05)) + (fp_line (start {{gx/2}} {{gy/2}}) (end {{gx/-2}} {{gy/2}}) (layer F.CrtYd) (width 0.05)) + (fp_line (start {{gx/-2}} {{gy/2}}) (end {{gx/-2}} {{gy/-2}}) (layer F.CrtYd) (width 0.05)) + + (pad 1 smd rect (at {{pcc/-2}} 0) (size {{px}} {{py}}) (layers F.Cu F.Paste F.Mask)) + (pad 2 smd rect (at {{pcc/2}} 0) (size {{px}} {{py}}) (layers F.Cu F.Paste F.Mask)) +) |