summaryrefslogtreecommitdiff
path: root/hw/v3.1 LPZW/hw.pretty/enc_3d.kicad_mod
blob: ff3ac5627115f215b37c4f144c6f64b3e5cc09e4 (plain)
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
(module enc_3d (layer F.Cu) (tedit 5F78D73C)
  (descr "Alps rotary encoder, EC12E... with switch, vertical shaft, http://www.alps.com/prod/info/E/HTML/Encoder/Incremental/EC12E/EC12E1240405.html & http://cdn-reichelt.de/documents/datenblatt/F100/402097STEC12E08.PDF")
  (tags "rotary encoder")
  (fp_text reference SW1 (at 2.8 -4.7) (layer F.SilkS)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_text value Rotary_Encoder_Switch (at 7.5 10.4) (layer F.Fab)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_line (start 7 2.5) (end 8 2.5) (layer F.SilkS) (width 0.12))
  (fp_line (start 7.5 2) (end 7.5 3) (layer F.SilkS) (width 0.12))
  (fp_line (start 14.2 6.2) (end 14.2 8.8) (layer F.SilkS) (width 0.12))
  (fp_line (start 14.2 1.2) (end 14.2 3.8) (layer F.SilkS) (width 0.12))
  (fp_line (start 14.2 -3.8) (end 14.2 -1.2) (layer F.SilkS) (width 0.12))
  (fp_line (start 4.5 2.5) (end 10.5 2.5) (layer F.Fab) (width 0.12))
  (fp_line (start 7.5 -0.5) (end 7.5 5.5) (layer F.Fab) (width 0.12))
  (fp_line (start 0.3 -1.6) (end 0 -1.3) (layer F.SilkS) (width 0.12))
  (fp_line (start -0.3 -1.6) (end 0.3 -1.6) (layer F.SilkS) (width 0.12))
  (fp_line (start 0 -1.3) (end -0.3 -1.6) (layer F.SilkS) (width 0.12))
  (fp_line (start 0.8 -3.8) (end 0.8 -1.3) (layer F.SilkS) (width 0.12))
  (fp_line (start 5.6 -3.8) (end 0.8 -3.8) (layer F.SilkS) (width 0.12))
  (fp_line (start 0.8 8.8) (end 0.8 6) (layer F.SilkS) (width 0.12))
  (fp_line (start 5.7 8.8) (end 0.8 8.8) (layer F.SilkS) (width 0.12))
  (fp_line (start 14.2 8.8) (end 9.3 8.8) (layer F.SilkS) (width 0.12))
  (fp_line (start 9.3 -3.8) (end 14.2 -3.8) (layer F.SilkS) (width 0.12))
  (fp_line (start 0.9 -2.6) (end 1.9 -3.7) (layer F.Fab) (width 0.12))
  (fp_line (start 0.9 8.7) (end 0.9 -2.6) (layer F.Fab) (width 0.12))
  (fp_line (start 14.1 8.7) (end 0.9 8.7) (layer F.Fab) (width 0.12))
  (fp_line (start 14.1 -3.7) (end 14.1 8.7) (layer F.Fab) (width 0.12))
  (fp_line (start 1.9 -3.7) (end 14.1 -3.7) (layer F.Fab) (width 0.12))
  (fp_line (start -1.5 -4.85) (end 16 -4.85) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.5 -4.85) (end -1.5 9.85) (layer F.CrtYd) (width 0.05))
  (fp_line (start 16 9.85) (end 16 -4.85) (layer F.CrtYd) (width 0.05))
  (fp_line (start 16 9.85) (end -1.5 9.85) (layer F.CrtYd) (width 0.05))
  (fp_circle (center 7.5 2.5) (end 10.5 2.5) (layer F.SilkS) (width 0.12))
  (fp_circle (center 7.5 2.5) (end 10.5 2.5) (layer F.Fab) (width 0.12))
  (fp_text user %R (at 11.5 6.6) (layer F.Fab)
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (pad A thru_hole rect (at 0 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
  (pad C thru_hole circle (at 0 2.5) (size 2 2) (drill 1) (layers *.Cu *.Mask))
  (pad B thru_hole circle (at 0 5) (size 2 2) (drill 1) (layers *.Cu *.Mask))
  (pad MP thru_hole rect (at 7.5 8.1) (size 3 2.5) (drill oval 2.5 2) (layers *.Cu *.Mask))
  (pad S1 thru_hole circle (at 14.5 0) (size 2 2) (drill 1) (layers *.Cu *.Mask))
  (pad S2 thru_hole circle (at 14.5 5) (size 2 2) (drill 1) (layers *.Cu *.Mask))
  (model ${KISYS3DMOD}/Rotary_Encoder.3dshapes/RotaryEncoder_Alps_EC12E-Switch_Vertical_H20mm.wrl
    (at (xyz 0 0 0))
    (scale (xyz 1 1 1))
    (rotate (xyz 0 0 0))
  )
  (model ${KIPRJMOD}/kicadstuff/EC12E-200.STEP
    (offset (xyz 7.5 -2.5 2.4))
    (scale (xyz 1 1 1))
    (rotate (xyz 0 0 90))
  )
)