From: Ian Jackson Date: Tue, 17 Jan 2023 19:09:33 +0000 (+0000) Subject: thread-external-test: wip X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=42f45196f0ca7f6aa69ff186fc020963b7bb43ed;p=reprap-play.git thread-external-test: wip Signed-off-by: Ian Jackson --- diff --git a/thread-external-test.scad b/thread-external-test.scad new file mode 100644 index 0000000..2076ad6 --- /dev/null +++ b/thread-external-test.scad @@ -0,0 +1,33 @@ +// -*- C -*- + +include +include + +// https://en.wikipedia.org/wiki/ISO_metric_screw_thread + +// M6 +thread_nom = 6; +thread_pitch = 1.00; +thread_act = thread_nom - 0.300; +head_size = 10; + +thread_len = 11.5; +base_th = 1.5; + +$test = false; + +// calculated + +base_dia = head_size / cos(30); + +module MachineScrew(){ + translate([0, 0, -0.1]) + render() + metric_thread(diameter=thread_act, pitch=thread_pitch, + leadin=1, internal=false, + test=$test, length=thread_len + 0.1); + linextr(-base_th, 0) + circle(r= base_dia/2, $fn=6); +} + +MachineScrew();