-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnibm_pbock250.scad
49 lines (43 loc) · 1.41 KB
/
nibm_pbock250.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
44
45
46
47
48
49
include <threads_w_cut.scad>
// Module for Peter Bock module 250
// Min diameter of outer cylinder around nib module
nibm_module_mind= 8+0.2+0.4*4;
// Height of printed part of nib module
nibm_h= 25;
// Diameter of the cylinder in wich nib goes freely
nibm_nib_d= 9;
// Height of the nib out of the module
nibm_nib_h= 24;
//$fn=200;
nibm_tollerance=0.4;
module nibm_cut(center= true)
{
translate([0, 0, center ? - nibm_h/2 : 0])
union()
{
ld=5;
hh= (8-ld)*2/3;
th=4.3;
translate([0,0,nibm_h-0.5 - 0.01])
cylinder(d2=8.6+nibm_tollerance, d1=8+nibm_tollerance, h=0.5+0.02);
translate([0,0,nibm_h- 18.3 - 0.01])
cylinder(d=8+nibm_tollerance, h=18.3-0.5+0.02);
translate([0,0, nibm_h- 18.3 -th -0.01])
metric_thread_w_entry (diameter= 8 +nibm_tollerance, pitch= 0.65, length= th + 0.02, internal=true, cut_bottom=true, cut_top=false);
translate([0,0, nibm_h- 18.3 -th -0.01 - hh- 0.01])
cylinder(d1=ld+nibm_tollerance, d2= 8 +nibm_tollerance, h= hh + 0.02);
translate([0,0, -0.01])
cylinder(d=ld+nibm_tollerance, h= nibm_h -18.3 -th - hh +0.02);
}
}
module nubm_minimal(center= true)
{
translate([0, 0, center ? - nibm_h/2 : 0])
difference()
{
cylinder(d= nibm_module_mind, h= nibm_h, center= false);
nibm_cut(center);
}
}
//nibm_cut(center= false);
//nubm_minimal(center= false);