summaryrefslogtreecommitdiff
path: root/mech/assembly.scad
blob: fdb859ba22e844a5ea841c6b7084b3265f842de7 (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
use <bottom.scad>
use <top.scad>
use <back.scad>
use <front.scad>
use <pcb_case/pcb.scad>

module assembly() {
	base_drilling = [3.5, 3.5];
	dx = [23, 0];
	dy = [0, 58];
	pcb(
		dim=[30, 65, 1.4],
		drillings=[
			base_drilling,
			base_drilling + dx,
			base_drilling + dy,
			base_drilling + dx + dy
		],
		margins=[
			[1, 1],
			[3.6, 1.7],
			[3.5, 9]
		],
		t=2
	);

	bottom();
//	top();
	back();
//	front();
}

assembly();