summaryrefslogtreecommitdiff
path: root/mech/pcb_case/pcb.scad
blob: ba211acf2a6bba157d3860fed5ef7a170ebe2b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
module pcb(dim, drillings) {
	translate([15, 5, 15]) {
		difference() {
			cube([dim[0], dim[1], dim[2]]);
			for (drilling = drillings) {
				translate([drilling[0], drilling[1], 0])
					cylinder(d=3, h=dim[2], $fn=30);
			}
		}
	}
}