Skip to content
Snippets Groups Projects
Commit 756753cd authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Fixed missing bolt holes for home switch.

parent 4cb8a5ee
Branches
No related merge requests found
......@@ -162,7 +162,6 @@ module endPlate(spacing = 30){
}
}
}
module motorSide(){
$fn=50;
thickness = 4;
......@@ -171,54 +170,57 @@ module motorSide(){
difference(){
union(){
difference(){ // main platform
translate([0,0,thickness/2])
cube([length, width, thickness], center = true);
linear_extrude(height = thickness+1)
stepper_motor_mount(17);
}
for (y = [-1, 1]){ // bearing blocks
translate([0, y*(magnetLength+5+2*(rodRad+3))/2, 15/2])
cube([linearBearingHeight+5, linearBearingOD+20, 15], center = true);
}
}
for (y = [-1, 1]){ // bolt holes
translate([-linearBearingHeight/2, y*(magnetLength+5+2*(rodRad+3))/2, 15])
difference(){
union(){
rotate([0,90,0])
cylinder(h = linearBearingHeight, r = linearBearingOD/2); //bearing
translate([-3.5,0,0])
rotate([0,90,0])
cylinder(h = linearBearingHeight+7, r = rodRad+1); //shaft clearance
for (i = [-1, 1]){
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -16]) // bolts
linear_extrude(height=15+2) boltHole(size = 3, proj = 1);
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -(15+12)+10]) // nuts
linear_extrude(height=10+2) nutHole(size = 3, proj = 1);
difference(){ // main platform
translate([0,0,thickness/2])
cube([length, width, thickness], center = true);
linear_extrude(height = thickness+1)
stepper_motor_mount(17);
}
for (y = [-1, 1]){ // bearing blocks
translate([0, y*(magnetLength+5+2*(rodRad+3))/2, 15/2])
cube([linearBearingHeight+5, linearBearingOD+20, 15], center = true);
}
}
}
}
rotate([0,0,180])
translate([length/2-3, 0, 0]){
difference(){
translate([0, 0, (thickness+2)/2])
difference(){
cube([10.6, 19.8, thickness+2], center = true);
cube([11, 3, thickness+3], center = true);
for (y = [-1, 1]){ // bolt holes
translate([-linearBearingHeight/2, y*(magnetLength+5+2*(rodRad+3))/2, 15])
union(){
rotate([0,90,0])
cylinder(h = linearBearingHeight, r = linearBearingOD/2); //bearing
translate([-3.5,0,0])
rotate([0,90,0])
cylinder(h = linearBearingHeight+7, r = rodRad+1); //shaft clearance
for (i = [-1, 1]){
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -16]) // bolts
linear_extrude(height=15+2) boltHole(size = 3, proj = 1);
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -(15+12)+10]) // nuts
linear_extrude(height=10+2) nutHole(size = 3, proj = 1);
}
}
}
translate([0, 0, thickness+2])
microswitch(mockup = true, holeDepth = thickness+4, nutSpacing = 3);
}
rotate([0,0,180])
translate([length/2-3, 0, 0]){
translate([0, 0, (thickness+2)/2])
difference(){
cube([10.6, 19.8, thickness+2], center = true);
cube([11, 3, thickness+3], center = true);
}
}
}
rotate([0,0,180])
translate([length/2-3, 0, thickness+2])
microswitch(mockup = true, holeDepth = thickness+5, nutSpacing = 3);
}
}
module bearingClamp(){
......
......@@ -4,7 +4,7 @@ include <MCAD/nuts_and_bolts.scad>;
include <MCAD/involute_gears.scad>;
include <MCAD/regular_shapes.scad>;
tolerance = 0.1;
tolerance = 0.15;
// gear parameters
circular_pitch=350;
......@@ -50,6 +50,8 @@ union(){
color("Purple") endPlate(30);
}
//motorSide();
// Magnet plate
module magnetPlate(spacing = 30){
thickness = 12;
......@@ -170,54 +172,55 @@ module motorSide(){
difference(){
union(){
difference(){ // main platform
translate([0,0,thickness/2])
cube([length, width, thickness], center = true);
linear_extrude(height = thickness+1)
stepper_motor_mount(17, tolerance=tolerance);
}
for (y = [-1, 1]){ // bearing blocks
translate([0, y*(magnetLength+5+2*(rodRad+3))/2, 15/2])
cube([linearBearingHeight+5, linearBearingOD+20, 15], center = true);
}
}
for (y = [-1, 1]){ // bolt holes
translate([-linearBearingHeight/2, y*(magnetLength+5+2*(rodRad+3))/2, 15])
difference(){
union(){
rotate([0,90,0])
cylinder(h = linearBearingHeight, r = linearBearingOD/2); //bearing
translate([-3.5,0,0])
rotate([0,90,0])
cylinder(h = linearBearingHeight+7, r = rodRad+1); //shaft clearance
for (i = [-1, 1]){
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -16]) // bolts
linear_extrude(height=15+2) boltHole(size = 3, proj = 1);
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -(15+12)+10]) // nuts
linear_extrude(height=10+2) nutHole(size = 3, proj = 1);
difference(){ // main platform
translate([0,0,thickness/2])
cube([length, width, thickness], center = true);
linear_extrude(height = thickness+1)
stepper_motor_mount(17, tolerance=tolerance);
}
for (y = [-1, 1]){ // bearing blocks
translate([0, y*(magnetLength+5+2*(rodRad+3))/2, 15/2])
cube([linearBearingHeight+5, linearBearingOD+20, 15], center = true);
}
}
}
}
rotate([0,0,180])
translate([length/2-3, 0, 0]){
difference(){
translate([0, 0, (thickness+2)/2])
difference(){
cube([10.6, 19.8, thickness+2], center = true);
cube([11, 3, thickness+3], center = true);
for (y = [-1, 1]){ // bolt holes
translate([-linearBearingHeight/2, y*(magnetLength+5+2*(rodRad+3))/2, 15])
union(){
rotate([0,90,0])
cylinder(h = linearBearingHeight, r = linearBearingOD/2); //bearing
translate([-3.5,0,0])
rotate([0,90,0])
cylinder(h = linearBearingHeight+7, r = rodRad+1); //shaft clearance
for (i = [-1, 1]){
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -16]) // bolts
linear_extrude(height=15+2) boltHole(size = 3, proj = 1);
translate([linearBearingHeight/2, i*(linearBearingOD/2+4), -(15+12)+10]) // nuts
linear_extrude(height=10+2) nutHole(size = 3, proj = 1);
}
}
}
translate([0, 0, thickness+2])
microswitch(mockup = true, holeDepth = thickness+4, nutSpacing = 3);
}
rotate([0,0,180])
translate([length/2-3, 0, 0]){
translate([0, 0, (thickness+2)/2])
difference(){
cube([10.6, 19.8, thickness+2], center = true);
cube([11, 3, thickness+3], center = true);
}
}
}
rotate([0,0,180])
translate([length/2-3, 0, thickness+2])
microswitch(mockup = true, holeDepth = thickness+5, nutSpacing = 3);
}
}
module bearingClamp(){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment