Merge in 9 months of work on capper branch #71
|
@ -33,10 +33,10 @@ LinearMotionX = 22;
|
||||||
LinearMotionY = 20;
|
LinearMotionY = 20;
|
||||||
LinearMotionZ = 14;
|
LinearMotionZ = 14;
|
||||||
|
|
||||||
module linearBearing (pad = 0) {
|
module linearBearing (padD = 0, padH = 0) {
|
||||||
difference () {
|
difference () {
|
||||||
cylinder(r = R(LinearBearingOuterDiameter + pad), h = LinearBearingHeight, center = true, $fn = 100);
|
cylinder(r = R(LinearBearingOuterDiameter + padD), h = LinearBearingHeight + padH, center = true, $fn = 100);
|
||||||
cylinder(r = R(LinearBearingBoreDiameter), h = LinearBearingHeight + 1, center = true, $fn = 60);
|
cylinder(r = R(LinearBearingBoreDiameter), h = LinearBearingHeight + padH + 1, center = true, $fn = 60);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,11 +48,11 @@ module linearMotionRod (H = 40, pad = 0) {
|
||||||
color("blue") cylinder(r = R(LinearMotionDiameter + pad), h = H, center = true, $fn = 60);
|
color("blue") cylinder(r = R(LinearMotionDiameter + pad), h = H, center = true, $fn = 60);
|
||||||
}
|
}
|
||||||
|
|
||||||
module TNut () {
|
module TNut (padD = 0, padH = 0) {
|
||||||
color("red") difference () {
|
color("red") difference () {
|
||||||
union () {
|
union () {
|
||||||
translate([0, 0, -(TNutHeight2 / 2) + (TNutHeight1 / 2) + TNutOffset]) cylinder(r = R(TNutDiameter1), h = TNutHeight1, center = true, $fn = 100);
|
translate([0, 0, -(TNutHeight2 / 2) + (TNutHeight1 / 2) + TNutOffset]) cylinder(r = R(TNutDiameter1 + padD), h = TNutHeight1, center = true, $fn = 100);
|
||||||
cylinder(r = R(TNutDiameter2), h = TNutHeight2, center = true, $fn = 80);
|
cylinder(r = R(TNutDiameter2), h = TNutHeight2 + padH, center = true, $fn = 80);
|
||||||
}
|
}
|
||||||
cylinder(r = R(TNutInnerDiameter), h = TNutHeight2 + 1, center = true, $fn = 60);
|
cylinder(r = R(TNutInnerDiameter), h = TNutHeight2 + 1, center = true, $fn = 60);
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ module lensAssemblyBellowsBoard () {
|
||||||
translate([0, -XOffset, FrontOffset]) rotate([0, 90, 0]) cylinder(r = R(22), h = XWidth, center = true, $fn = 80);
|
translate([0, -XOffset, FrontOffset]) rotate([0, 90, 0]) cylinder(r = R(22), h = XWidth, center = true, $fn = 80);
|
||||||
}
|
}
|
||||||
rotate([-90, 0, 0]) {
|
rotate([-90, 0, 0]) {
|
||||||
translate([-(XWidth/2) + 2.5, -FrontOffset, -XOffset]) rotate([0, 90, 0]) TNut();
|
translate([-(XWidth/2) + 2.5, -FrontOffset, -XOffset]) rotate([0, 90, 0]) TNut(0.3, 0.3);
|
||||||
//m3s
|
//m3s
|
||||||
// -centered
|
// -centered
|
||||||
translate([-(XWidth/2) + 2.5 + 5, -FrontOffset - 8, -XOffset]) rotate([0, -90, 0]) rotate([0, 0, 90]) m3BoltNut();
|
translate([-(XWidth/2) + 2.5 + 5, -FrontOffset - 8, -XOffset]) rotate([0, -90, 0]) rotate([0, 0, 90]) m3BoltNut();
|
||||||
|
@ -87,7 +87,7 @@ module lensAssemblyBellowsBoard () {
|
||||||
translate([-(XWidth/2) + 2.5 + 5, -FrontOffset, -XOffset + 8]) rotate([0, -90, 0]) m3Bolt();
|
translate([-(XWidth/2) + 2.5 + 5, -FrontOffset, -XOffset + 8]) rotate([0, -90, 0]) m3Bolt();
|
||||||
// -bottom no nut
|
// -bottom no nut
|
||||||
translate([-(XWidth/2) + 2.5 + 5, -FrontOffset, -XOffset - 8]) rotate([0, -90, 0]) m3Bolt();
|
translate([-(XWidth/2) + 2.5 + 5, -FrontOffset, -XOffset - 8]) rotate([0, -90, 0]) m3Bolt();
|
||||||
translate([(XWidth/2) - 2.5, -FrontOffset, -XOffset]) rotate([0, -90, 0]) TNut();
|
translate([(XWidth/2) - 2.5, -FrontOffset, -XOffset]) rotate([0, -90, 0]) TNut(0.3, 0.3);
|
||||||
//m3s
|
//m3s
|
||||||
// -center
|
// -center
|
||||||
translate([(XWidth/2) - 2.5 - 5, -FrontOffset - 8, -XOffset]) rotate([0, 90, 0]) rotate([0, 0, 90]) m3BoltNut();
|
translate([(XWidth/2) - 2.5 - 5, -FrontOffset - 8, -XOffset]) rotate([0, 90, 0]) rotate([0, 0, 90]) m3BoltNut();
|
||||||
|
@ -131,9 +131,9 @@ module lensAssemblyThreadedZ () {
|
||||||
translate([8, -BackOffset, 0]) cube([8, 7, 52], center = true);
|
translate([8, -BackOffset, 0]) cube([8, 7, 52], center = true);
|
||||||
//T nuts
|
//T nuts
|
||||||
//top
|
//top
|
||||||
translate([0, 0, (Z / 2) - 4]) rotate([180, 0, 0]) TNut();
|
translate([0, 0, (Z / 2) - 4]) rotate([180, 0, 0]) TNut(0.3, 0.3);
|
||||||
//bottom
|
//bottom
|
||||||
translate([0, 0, -(Z / 2) + 4]) TNut();
|
translate([0, 0, -(Z / 2) + 4]) TNut(0.3, 0.3);
|
||||||
|
|
||||||
//----
|
//----
|
||||||
//T nut M3 bolts
|
//T nut M3 bolts
|
||||||
|
@ -197,14 +197,14 @@ module lensAssemblyLinearZ () {
|
||||||
translate([0, -BackOffset, -(Z / 2) - 11]) cube([23, 22, 22], center = true);
|
translate([0, -BackOffset, -(Z / 2) - 11]) cube([23, 22, 22], center = true);
|
||||||
//z linear bearing
|
//z linear bearing
|
||||||
translate([0, 0, -(Z / 2) + ZLinearBearing]) {
|
translate([0, 0, -(Z / 2) + ZLinearBearing]) {
|
||||||
linearBearing(0.25);
|
linearBearing(0.25, 0.3);
|
||||||
translate([LinearBearingOuterDiameter / 2, 0, 0]) cube([LinearBearingOuterDiameter, LinearBearingOuterDiameter, LinearBearingHeight], center = true);
|
translate([LinearBearingOuterDiameter / 2, 0, 0]) cube([LinearBearingOuterDiameter, LinearBearingOuterDiameter + 0.25, LinearBearingHeight + 0.3], center = true);
|
||||||
}
|
}
|
||||||
|
|
||||||
//z linear bearing
|
//z linear bearing
|
||||||
translate([0, 0, -(Z / 2) + ZLinearBearing + 32]) {
|
translate([0, 0, -(Z / 2) + ZLinearBearing + 32]) {
|
||||||
linearBearing(0.25);
|
linearBearing(0.25, 0.3);
|
||||||
translate([LinearBearingOuterDiameter / 2, 0, 0]) cube([LinearBearingOuterDiameter, LinearBearingOuterDiameter, LinearBearingHeight], center = true);
|
translate([LinearBearingOuterDiameter / 2, 0, 0]) cube([LinearBearingOuterDiameter, LinearBearingOuterDiameter + 0.25, LinearBearingHeight + 0.3], center = true);
|
||||||
}
|
}
|
||||||
//x threaded rod
|
//x threaded rod
|
||||||
translate([0, -BackOffset, -XOffset]) rotate([0, 90, 0]) threadedRod(50, 0.5);
|
translate([0, -BackOffset, -XOffset]) rotate([0, 90, 0]) threadedRod(50, 0.5);
|
||||||
|
|
Loading…
Reference in New Issue