capture updated .gitignore with new packages
[hw/altusmetrum] / packages / 1206.scad
1 module part_1206(len=3.2, width=1.6, height=0.6, pad_len=0.5)
2 {
3         union() {
4                 translate([0,0,height/2]) {
5                         // body
6                         color([0.1,0.1,0.1])
7                                 cube([len-2*pad_len,width,height], center=true);
8                         // terminals
9                         color([0.8,0.8,0.8]) {
10                                 translate([+len/2-pad_len/2, 0, 0])
11                                         cube([pad_len, width, height], center=true);
12                         }
13                         color([0.8,0.8,0.8]) {
14                                 translate([-len/2+pad_len/2, 0, 0])
15                                         cube([pad_len, width, height], center=true);
16                         }
17                 }
18         }
19 }
20
21 part_1206();