Merge pull request #1 from sixteenmillimeter/lomo_screw

Lomo screw
This commit is contained in:
Matt 2018-03-05 17:19:42 -05:00 committed by GitHub
commit d71eb473d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 2100422 additions and 143107 deletions

View File

@ -1,41 +0,0 @@
t = 0;
include <../../libraries/threads.scad>;
module base () {
$fn = 100;
NUBS = 6;
union() {
translate([0, 0, -15])cylinder(r = 8.45, h = 20, center = true);
//hex version
//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);
for (i = [1 : 6]) {
rotate([0, 0, i * (360 / NUBS)]) translate([0, 19 / 2, -24.5]) cylinder(r = 3.2 / 2, h = 9.5, center = true);
}
}
}
module lomo_bottom_screw () {
base();
difference () {
//outer screw
translate([0, 0, -7.1]) metric_thread (diameter=10, pitch=1.5,thread_size = 1.6, 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")
//translate([37, -3.5, 0]) import("./lomo_part_fixed.stl");
import("./lomo_part_half.stl");
//translate([200, 0, 0]) cube([400, 400, 400], center = true);
}
translate([0, -0.25, -0.05]) rotate([0, 0, t]) difference() {
//color("green") lomo_bottom_screw();
//translate([-20, 0, 0])cube([40, 40, 200], center = true);
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,90 @@
t = 0;
include <../../libraries/threads.scad>;
//RESOLUTION
FINE = 200;
module base ( HEX = false) {
D = 8.45 * 2;
H = 20;
//for grip
BUMP = 2; //diameter
BUMPS = 6;
TOP_D = 19;
TOP_H = 9.5;
TOP_OFFSET = -24.5;
union() {
translate([0, 0, -15]) {
cylinder(r = D / 2, h = H, center = true, $fn = FINE);
}
//hex version
if (HEX) {
translate([0, 0, TOP_OFFSET]) {
cylinder(r = 11.1, h = TOP_H, center = true, $fn = 6);
}
} else {
translate([0, 0, TOP_OFFSET]) {
cylinder(r = TOP_D / 2, h = TOP_H, center = true, $fn = FINE);
}
}
for (i = [0 : BUMPS]) {
rotate([0, 0, (360 / BUMPS) * i]) {
translate([0, 8.9, TOP_OFFSET]) {
cylinder(r = BUMP, h = TOP_H, center = true, $fn = 60);
}
}
}
}
}
module outer_screw (LEN) {
OD = 10;
PITCH = 1.5;
THREAD = 1.6;
difference () {
translate([0, 0, -7.1]) metric_thread (diameter=OD, pitch=PITCH, thread_size = THREAD, length=LEN);
//bevel top of screw
translate([0, 0, LEN - 8]) difference() {
cylinder(r = 8, h = 3, center = true, $fn = FINE);
cylinder(r1 = 6, r2 = 3, h = 3.01, center = true, $fn = FINE);
}
}
}
module lomo_spindle_bottom (ALT = false, HEX = false) {
OD = 13.6 + .5;
PITCH = 1.5;
THREAD = 1.6;
IN_LEN = 21;
LEN = 17.1;
ALT_LEN = 27.1;
difference () {
base(HEX);
//inner screw negative
translate([0, 0, -30]) union() {
metric_thread (diameter=OD, pitch=PITCH, thread_size = THREAD, length = IN_LEN);
translate([0, 0, 0.2]) {
metric_thread (diameter=OD, pitch=PITCH, thread_size = THREAD, length = IN_LEN);
}
}
}
difference () {
//outer screw
if (ALT) {
outer_screw(ALT_LEN);
} else {
outer_screw(LEN);
}
//hollow center
cylinder(r = 3.8 / 2, h = 100, center = true, $fn = 60);
}
}
translate([0, 0, 29]) rotate([0, 0, t]) lomo_spindle_bottom();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,102 @@
t = 0;
include <../../libraries/threads.scad>;
include <../../libraries/Triangles.scad>;
D = 50;
THICKNESS = 2.5;
H = 19.5;
ROUND = 8;
HANDLE_D = 13.25;
HANDLE_BASE = 16;
HANDLE_TOP = 13;
HANDLE_H = 54.5;
NOTCHES = 17;
NOTCH = 1.5;
FINE = 200;
module lomo_spindle_top () {
difference () {
//cup
translate([0, 0, ROUND - 2]) minkowski () {
cylinder(r = (D / 2) - ROUND, h = (H * 2) - ROUND, center = true, $fn = FINE);
sphere(r = ROUND, center = true, $fn = FINE);
}
translate([0, 0, ROUND - 2 + THICKNESS]) minkowski () {
cylinder(r = (D / 2) - THICKNESS - ROUND, h = (H * 2) - ROUND, center = true, $fn = 200);
sphere(r = ROUND, center = true, $fn = FINE);
}
//hollow out cup
translate([0, 0, H + ROUND - 4 - 3]) {
cylinder(r = (D / 2) + 1, h = H * 2, center = true);
}
//inner cup bevel
translate([0, 0, (H / 2) - ROUND - 1]) {
cylinder(r1 = (D / 2) - 2.5, r2 = (D / 2) - 2.5 + 1, h = 1, center = true, $fn = FINE);
}
//outer cup bevel
translate([0, 0, (H / 2) - ROUND - 1]) {
difference () {
cylinder(r = (D / 2) + .25, h = 1, center = true, $fn = FINE);
cylinder(r2 = (D / 2) - .8, r1 = (D / 2) - .8 + 1, h = 1, center = true, $fn = FINE);
}
}
//hole in cup
translate([21, 0, -10]) cylinder(r = 3 / 2, h = 40, center = true, $fn = 40);
}
//reference cylinder
//translate([0, 0, -6.6]) color("red") cylinder(r = 50 / 2, h = 19.57, center = true);
//handle
translate([0, 0, -15]) {
difference() {
cylinder(r1 = HANDLE_BASE / 2, r2 = HANDLE_TOP / 2, h = HANDLE_H, $fn = FINE);
//ring negative
translate([0, 0, 31 + 14.5]) {
difference () {
cylinder(r = HANDLE_D / 2 + 2, h = 20, center = true);
cylinder(r = HANDLE_D / 2 - .5, h = 20 + 1, center = true);
}
}
//handle notches
for(i = [0 : NOTCHES]) {
rotate([0, 0, i * (360 / NOTCHES)]) {
translate([0, HANDLE_D / 2 - .5, 31 + 14.5]) {
rotate([0.75, 0, 0]) rotate([0, 0, 45]) {
Right_Angled_Triangle(a = NOTCH, b = NOTCH, height = 20, centerXYZ=[true, true, true]);
}
}
}
}
//bevel handle at top
translate([0, 0, 54.01]) {
difference () {
cylinder(r = 13 / 2, h = 1, center = true);
cylinder(r1 = 12.5 / 2, r2 = 11.5 / 2, h = 1.01, center = true);
}
}
}
}
//attach handle with pyramid cylinder
translate ([0, 0, -13.7]) {
cylinder(r1 = 16 / 2 + 2, r2 = 16 / 2 - .1, h = 3, center = true, $fn = FINE);
}
//plate under cup
translate([0, 0, -17.75]) {
cylinder(r = 31.5 / 2, h = 1, center = true, $fn = FINE);
}
//screw
translate([0, 0, -37.5]) {
metric_thread (diameter=13.6, pitch=1.5 ,thread_size = 1.6, length = 21);
}
//cylinder plug
translate([0, 0, -37.5 + (21 / 2) - 1]) {
cylinder(r = 12 / 2, h = 21, center = true, $fn = FINE);
}
}
rotate([0, 0, t]) lomo_spindle_top();

File diff suppressed because it is too large Load Diff

View File

@ -1,40 +0,0 @@
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();