cyclone-pcb-factory/Hardware/Development/Y_axis/linear_bearing_holder.scad

87 lines
1.8 KiB
OpenSCAD

// LM8UU bushing holder modified for its use in Cyclone PCB Factory
// Modified to have only one center screw
// Derived by Carlosgs from:
// LM8UU bushing holder
// http://www.thingiverse.com/thing:23041 by thantik
// Inspired/derived from:
//http://www.thingiverse.com/thing:14942
//Which is derived from:
// http://www.thingiverse.com/thing:14814
//And is a drop-in replacement for:
//http://www.thingiverse.com/thing:10287
// screw/nut dimensions
screw_dia = 4;
nut_dia = 8.5;
nut_height=2;
// main body dimensions
body_width = 20;
gap_width = 14;
body_height = 16;
body_length=23;
LM8UU_dia = 15.0;
screw_elevation = body_height-1.5;
//mounting plate dimensions
plate_height = 4;
plate_length=body_length;
plate_width=body_width+11;
screw_space_x = -14.5*2;
screw_space_y = 0;
module mount_plate()
{
difference()
{
//bottom plate
translate([-plate_width+body_width/2,-plate_length/2,-3])
cube([plate_width,plate_length,plate_height]);
//screw holes
translate([screw_space_x/2,screw_space_y/2,-8.1])
cylinder(r=screw_dia/2, h=plate_height+10, $fn=20);
// translate([-screw_space_x/2,-screw_space_y/2,-8.1])
// cylinder(r=screw_dia/2, h=plate_height+1, $fn=20);
//nut traps
}
}
module lm8uu_bearing_holder() {
intersection() {
rotate([90,0,90])
difference()
{
union()
{
mount_plate();
translate([-body_width/2,-body_length/2,0])
cube([body_width,body_length,body_height]);
}
// bushing hole
translate([0,0,LM8UU_dia/2+2])
rotate([90,0,0])
cylinder(r=LM8UU_dia/2, h=body_length+0.1, center=true, $fn=40);
// top gap
translate([0,0,20])
cube([gap_width-1,body_length+0.1,20],center=true);
}
rotate([90,45,90])
//cube([plate_width+3,plate_width+3,100],center=true);
cylinder(r=(plate_width+10)/2,h=100,center=true,$fn=8);
}
}
lm8uu_bearing_holder();