-
Notifications
You must be signed in to change notification settings - Fork 0
/
usb_fit_test.scad
37 lines (30 loc) · 894 Bytes
/
usb_fit_test.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
// USB Board Support Fit Test
// Simplified model of the USB Board support to test dimensions and proper fit.
$fa = 1;
$fs = .4;
include <dimensions.scad>
include <usb_board.scad>
module usb_fit_test() {
support_h = 2;
translate([0, 0, support_h/2])
cube([20, 20, support_h], center=true);
translate([
0,
-((usb_board_d/2)-usb_hole_d_of),
support_h/2 + usb_sup_base_h/2
]) {
translate([usb_hole_w_of/2, 0, 0])
difference() {
cylinder(d=usb_sup_base_d, h=usb_sup_base_h);
cylinder(d=usb_sup_hole_d * 1.1, h=usb_sup_base_h);
}
translate([-usb_hole_w_of/2, 0, 0])
difference() {
cylinder(d=usb_sup_base_d, h=usb_sup_base_h);
cylinder(d=usb_sup_hole_d * 1.1, h=usb_sup_base_h);
}
}
// translate([0, 0, support_h + usb_sup_base_h + usb_board_h/2 + 0.1])
// usb_board();
}
usb_fit_test();