Skip to content

Commit

Permalink
Version 0.52
Browse files Browse the repository at this point in the history
The holes in the endstop holders were to large for 2mm screws.
Also, by request add a motor_z_offset parameter tot he frame_motor.scad
file to make it easy to shift the nema 17 motor mount.
  • Loading branch information
Jaydmdigital committed Apr 24, 2014
1 parent a6f9886 commit 4ee0dcd
Show file tree
Hide file tree
Showing 4 changed files with 6,231 additions and 6,232 deletions.
46 changes: 22 additions & 24 deletions endstop.scad
Original file line number Diff line number Diff line change
Expand Up @@ -22,48 +22,46 @@ module endstop(offset=thickness/2,neg=1) {
difference() {
union() {
minkowski(){
cube([width-6, thickness/2, height-6], center=true);
rotate([90,0,0])cylinder(h=thickness/2, r=3, center=true);
}
cube([width-6, thickness/2, height-6], center=true);
rotate([90,0,0])cylinder(h=thickness/2, r=3, center=true);
}

//translate([0, 0, -height/4])cube([width+2, thickness, height/2], center=true);
//translate([0, 0, -height/4])cube([width+2, thickness, height/2], center=true);
// translate([neg*(-(width+2+thickness-2)/2), 0, -height/4])cylinder(h=height/2, r=thickness/2, center=true);
translate([0, fin_w/2, 0]) cube([fin_w, fin_w, height], center=true);
translate([0, fin_w/2, 0]) cube([fin_w, fin_w, height], center=true);

// translate([width/2-offset, width/2+2, -height/4]) rotate(90) cube([width+thickness-thickness/2, thickness, height/2], center=true);
}
}
//cutout screw adjustment hole
//translate([neg*(-(width+2+thickness-2)/2), 0, -height/4]) cylinder(h=height, r=m3_wide_radius, center=true);
//translate([neg*(-(width+2+thickness-2)/2), 0, height/4 - 2.3])
//translate([width/2+neg*offset, (thickness+width)/2, -height/4]) cylinder(h=height, r=m3_wide_radius, center=true);
// translate([width/2+neg*offset, (thickness+width)/2, -height/4+ 2.3])rotate(30) cylinder(h=height/2, r=m3_nut_radius, center=true, $fn=6);
// translate([width/2+neg*offset, (thickness+width)/2, -height/4+ 2.3])rotate(30) cylinder(h=height/2, r=m3_nut_radius, center=true, $fn=6);


translate([0, 0, 3]) rotate([90, 0, 0]) {
cylinder(r=m3_wide_radius, h=20, center=true);
translate([0, 0, 3.6-thickness/2]) {
cylinder(r=3, h=10);
translate([0, 5, 5])
cube([6, 10, 10], center=true);
}
translate([0, 0, -thickness/2-1]) scale([1, 1, 1])screw_socket_cone();
cylinder(r=m3_wide_radius, h=20, center=true);
translate([0, 0, 3.6-thickness/2]) {
cylinder(r=3, h=10);
translate([0, 5, 5]) cube([6, 10, 10], center=true);
}
translate([0, 0, -thickness/2-1]) scale([1, 1, 1])screw_socket_cone();
// cylinder(r1=m3_wide_radius, r2=7, h=4);
}
translate([0, -3-thickness/2, -2]) rotate([0, 180, 0]) {
//% microswitch();
for (x = [-9.5/2, 9.5/2]) {
translate([x, 0, 0]) rotate([90, 0, 0])
cylinder(r=2.5/2, h=40, center=true);
}
} }

// screw holes for microswitch();
for (x = [-9.5/2, 9.5/2]) {
translate([x, 0, 0]) rotate([90, 0, 0]) cylinder(r=1.9/2, h=40, center=true);
}
}
}
}


translate([0,extrusion/2+thickness/2,-60/2]) %difference(){
import("./assembly/2020_1000mm.stl", convexity=10);
translate([-12,-12,60])cube([24,24,(1000-60)+2]);
}
import("./assembly/2020_1000mm.stl", convexity=10);
translate([-12,-12,60])cube([24,24,(1000-60)+2]);
}
//translate([0, 0, height/2]) endstop(-thickness/2,side);
translate([0, 0, height/2]) endstop(2,1);
%rotate([180,0,0])
Expand Down
Loading

0 comments on commit 4ee0dcd

Please sign in to comment.