Lomo screw #1

Merged
sixteenmillimeter merged 20 commits from lomo_screw into master 2018-03-05 22:19:42 +00:00
1 changed files with 22 additions and 8 deletions
Showing only changes of commit 1609407e6e - Show all commits

View File

@ -3,15 +3,26 @@ include <../../libraries/threads.scad>;
module base () { module base () {
$fn = 100; $fn = 100;
BUMP = 2;
BUMPS = 6;
TOP_H = 9.5;
union() { union() {
translate([0, 0, -15])cylinder(r = 8.45, h = 20, center = true); 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); //translate([0, 0, -24.5])cylinder(r = 11.1, h = 9.5, center = true, $fn = 6);
translate([0, 0, -24.5]) cylinder(r = 19 / 2, h = 9.5, center = true); translate([0, 0, -24.5]) cylinder(r = 19 / 2, h = TOP_H, center = true);
for (i = [0 : BUMPS]) {
rotate([0, 0, (360 / BUMPS) * i]) translate([0, 8.9, -24.5]) cylinder(r = BUMP, h = TOP_H, center = true, $fn = 60);
}
} }
} }
module lomo_bottom_screw () { module lomo_bottom_screw () {
//base(); difference () {
base();
//
translate([0, 0, -20]) cylinder(r = 14 / 2, h = 20, center = true, $fn = 100);
}
difference () { difference () {
//outer screw //outer screw
translate([0, 0, -7.1]) metric_thread (diameter=10, pitch=1.5, length=27.1); translate([0, 0, -7.1]) metric_thread (diameter=10, pitch=1.5, length=27.1);
@ -27,11 +38,14 @@ module lomo_bottom_screw () {
difference() { difference() {
//color("green") //color("green")
//center //center
//cylinder(r = 3 / 2, h = 100, center = true, $fn = 30); translate([0, 0, 29]) lomo_bottom_screw();
translate([37, -3.25, 0]) import("./lomo_part_fixed.stl"); //translate([37, -3.25, 0]) import("./lomo_part_fixed.stl");
translate([200, 0, 0]) cube([400, 400, 400], center = true); translate([-50, 0, 29]) cube([100, 100, 100], center = true);
} }
rotate([0, 0, t]) difference() {
lomo_bottom_screw(); translate([0, 0, -20]) rotate([0, 0, t]) difference() {
translate([-100, 0, 0])cube([200, 200, 200], center = true); rotate([0, 180, 0]) import("../lomo_top_screw/lomo_top_screw.stl");
//translate([-100, 0, 0])cube([200, 200, 200], center = true);
} }