File: 1206.scad

package info (click to toggle)
pcb-rnd 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 29,260 kB
  • sloc: ansic: 198,059; sh: 5,767; yacc: 5,568; makefile: 2,519; awk: 1,737; lex: 1,073; python: 519; lisp: 169; tcl: 67; xml: 40; perl: 34; ruby: 5
file content (15 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module part_1206()
{
	translate([0,0,0.3]) {
		// body
		color([0.1,0.1,0.1])
			cube([3.2-2*0.2,1.6,0.6], center=true);
		// terminals
		color([0.8,0.8,0.8]) {
			translate([+1.5, 0, 0])
				cube([0.2, 1.6, 0.6], center=true);
			translate([-1.5, 0, 0])
				cube([0.2, 1.6, 0.6], center=true);
		}
	}
}