-
Notifications
You must be signed in to change notification settings - Fork 0
/
GenericCoaster.scad
43 lines (32 loc) · 1.27 KB
/
GenericCoaster.scad
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
//****************************************************************
//* Name : Generic Coaster *
//* Author : Robert Joseph Korn *
//* Notice : Copyright (c) 2015 Open Valley Consulting Corp *
//* : All Rights Reserved *
//* Date : 5/27/15 *
//* Version : 1.0 *
//* Notes : Simple Circuit Board Coaster *
//* : *
//****************************************************************
$fn=50;
wallT = 2;
boardW = 70.5;
boardH = 51.4;
boardD = 3;
holeW = 63.95;
holeH = 40.5;
pinD = 3;
pinL = 4;
outerW = boardW + 2*wallT;
outerH = boardH + 2*wallT;
outerD = boardD + wallT;
union(){
difference() {
cube([outerW, outerH, outerD],center=true);
translate([0, 0, wallT/2]) cube([boardW, boardH, boardD+1],center=true);
}
translate([holeW/2, holeH/2, -wallT]) cylinder(h=wallT+pinL,d=pinD);
translate([-holeW/2, holeH/2, -wallT]) cylinder(h=wallT+pinL,d=pinD);
translate([holeW/2, -holeH/2, -wallT]) cylinder(h=wallT+pinL,d=pinD);
translate([-holeW/2, -holeH/2, -wallT]) cylinder(h=wallT+pinL,d=pinD);
}