From 2acb7f0dc6f35efbd6e921dacdce2dac0e23e64b Mon Sep 17 00:00:00 2001 From: M McWilliams Date: Mon, 11 Dec 2017 23:01:03 -0500 Subject: [PATCH] lomo parts, still in progress --- .../lomo_bottom_screw/lomo_bottom_screw.scad | 34 ++++++++++++++++ models/lomo_top_screw/lomo_top_screw.scad | 40 +++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 models/lomo_bottom_screw/lomo_bottom_screw.scad create mode 100644 models/lomo_top_screw/lomo_top_screw.scad diff --git a/models/lomo_bottom_screw/lomo_bottom_screw.scad b/models/lomo_bottom_screw/lomo_bottom_screw.scad new file mode 100644 index 0000000..715c8ea --- /dev/null +++ b/models/lomo_bottom_screw/lomo_bottom_screw.scad @@ -0,0 +1,34 @@ +t = 0; +include <../../libraries/threads.scad>; + +module base () { + $fn = 100; + union() { + translate([0, 0, -15])cylinder(r = 8.45, h = 20, center = true); + translate([0, 0, -24.5])cylinder(r = 11.1, h = 9.5, center = true, $fn = 6); + } +} + +module lomo_bottom_screw () { + base(); + difference () { + //outer screw + translate([0, 0, -7.1]) metric_thread (diameter=10, pitch=1.5, length=27.1); + //taper top of screw + translate([0, 0, 19]) difference() { + cylinder(r = 8, h = 3.5, center = true, $fn = 100); + cylinder(r1 = 6, r2 = 3, h = 4.5, center = true, $fn = 100); + } + //hollow center + cylinder(r = 1.85, h = 100, center = true, $fn = 60); + } +} +difference() { + //color("green") import("C:\\Users\\mmcwilliams\\Documents\\3DPRINT\\lomo_bottom_screw_half.stl"); + //color("blue") translate([36.9, -3.2, 0]) import("C:\\Users\\mmcwilliams\\Documents\\3DPRINT\\lomo_part.stl"); + //translate([200, 0, 0])cube([400, 400, 400], center = true); +} +rotate([0, 0, t]) difference() { + lomo_bottom_screw(); + //translate([-100, 0, 0])cube([200, 200, 200], center = true); +} diff --git a/models/lomo_top_screw/lomo_top_screw.scad b/models/lomo_top_screw/lomo_top_screw.scad new file mode 100644 index 0000000..22105b6 --- /dev/null +++ b/models/lomo_top_screw/lomo_top_screw.scad @@ -0,0 +1,40 @@ +t = 0; +include <../../libraries/threads.scad>; + +D = 50; +THICKNESS = 2.5; +H = 23; +ROUND = 6; + +module lomo_top_screw () { + difference () { + translate([0, 0, ROUND + 2.75]) minkowski () { + cylinder(r = (D / 2) - ROUND, h = (H * 2) - ROUND, center = true, $fn = 100); + sphere(r = ROUND, center = true, $fn = 100); + } + translate([0, 0, ROUND + 2.75 + THICKNESS]) minkowski () { + cylinder(r = (D / 2) - THICKNESS - ROUND, h = (H * 2) - ROUND, center = true, $fn = 100); + sphere(r = ROUND, center = true, $fn = 100); + } + translate([0, 0, H + ROUND - 0.4]) cylinder(r = (D / 2) + 1, h = H * 2, center = true); + //CUT IN HALF + translate([200, 0, 0]) cube([400, 400, 400], center = true); + //reference cylinder + //color("red") translate([0, 0, -H / 4]) cylinder(r = (D / 2), h = H, center = true); + } + /* + //spindle + translate([0, 0, 4]) cylinder(r1 = 12 / 2, r2 = 9 / 2, h = 40, center = true, $fn = 60); + //spindle top + translate([0, 0, 27]) difference () { + minkowski() { + cylinder(r = 5 / 2, h = 20, center = true, $fn = 60); + sphere(r = 2, center = true, $fn = 60); + } + for (i = [0: 5]) { + rotate([0, 0, i * (360 / 6)]) translate([4.7, 0, 0]) cylinder(r = 1, h = 30, center = true, $fn = 20); + } + }*/ +} + +rotate([0, 0, t]) lomo_top_screw(); \ No newline at end of file