diff --git a/split_reel.scad b/split_reel.scad index ef5c5a4..9b852bf 100644 --- a/split_reel.scad +++ b/split_reel.scad @@ -5,13 +5,14 @@ Core16mm = 25.5; PlatterThickness = 1.6; Platter120m = 178; Thread16mmD = 17.5; +Pitch16mm = 1.55; module thread_16mm ( pos = [0, 0, 0], length = 11, chamfer = false, pad = 0) { translate(pos) { if (chamfer) { - metric_thread (diameter=Thread16mmD, pitch=1.5, length=length, internal=false, n_starts=1, thread_size=-1, groove=false, square=false, rectangle=0, angle=30, taper=0, leadin=2, leadfac=1.5); + metric_thread (diameter=Thread16mmD, pitch=Pitch16mm, length=length, internal=false, n_starts=1, thread_size=-1, groove=false, square=false, rectangle=0, angle=30, taper=0, leadin=2, leadfac=1.5); } else { - metric_thread (diameter=Thread16mmD, pitch=1.5, length=length, internal=false, n_starts=1, thread_size=-1, groove=false, square=false, rectangle=0, angle=30, taper=0, leadin=0, leadfac=1.5); + metric_thread (diameter=Thread16mmD, pitch=Pitch16mm, length=length, internal=false, n_starts=1, thread_size=-1, groove=false, square=false, rectangle=0, angle=30, taper=0, leadin=0, leadfac=1.5); } } } @@ -80,9 +81,11 @@ module split_reel (format = "16mm", length = 120, half = "A") { } PART = "split_reel_16mm_120m_B"; - -if (PART == "split_reel_16mm_120m_A") { - split_reel("16mm", 120, "A"); -} else if (PART == "split_reel_16mm_120m_B") { - split_reel("16mm", 120, "B"); +intersection () { + if (PART == "split_reel_16mm_120m_A") { + split_reel("16mm", 120, "A"); + } else if (PART == "split_reel_16mm_120m_B") { + split_reel("16mm", 120, "B"); + } + cube([30, 30, 40], center = true); } \ No newline at end of file