-
Notifications
You must be signed in to change notification settings - Fork 171
/
compression_screw_parts.scad
53 lines (44 loc) · 1.08 KB
/
compression_screw_parts.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
50
51
52
53
include <config.scad>
use <GDMUtils.scad>
use <acme_screw.scad>
$fa=2;
$fs=1;
module compression_screw(slop=0) {
d = adjust_screw_diam+slop;
h = adjust_screw_length;
pitch = adjust_screw_pitch;
pa = adjust_screw_angle;
knob_h = adjust_screw_knob_h;
knob_d = 20;
slot_w = 2;
up(h/2) {
up(knob_h) {
difference() {
// Threads
down(0.05) acme_threaded_rod(d=d, l=h+0.1, thread_depth=adjust_thread_depth, pitch=pitch, thread_angle=pa);
// Bevel thread ends.
up(h/2-2+0.05) {
difference() {
cylinder(d=d+1, h=2, center=false);
down(0.05) cylinder(d1=d, d2=d-4, h=2.1, center=false);
}
}
// Strengthening hole
cylinder(h=2*h, d=0.5, center=true, $fn=3);
}
}
// Screw head
down(h/2-knob_h/2) {
difference() {
cylinder(h=knob_h, d=knob_d, center=true);
zring(r=knob_d/2+5/4, n=8) cylinder(d=5, h=knob_h*3, center=true);
}
}
}
}
//!compression_screw();
module compression_screw_parts() { // make me
compression_screw();
}
compression_screw_parts();
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap