Skip to content

Instantly share code, notes, and snippets.

@pkdevel
Created February 11, 2016 18:08
Show Gist options
  • Save pkdevel/c9aedbc05bd82fe7c160 to your computer and use it in GitHub Desktop.
Save pkdevel/c9aedbc05bd82fe7c160 to your computer and use it in GitHub Desktop.
width = 25;
difference() {
union() {
rotate([0, 90, 0])
linear_extrude(width) {
hull() {
translate([-8, 28, 0]) circle(8);
w=10;
translate([w-37, 20+w, 0]) circle(w);
translate([-37, 60, 0]) square([37, 10]);
}
}
//cube([width, 70, 37]);
// extrusion standoffs
translate([0, 60, 10]) rotate([0,180,0])
union() {
cube([4, 10, 4], center=true);
cube([8, 10, 2], center=true);
}
translate([0, 44, 10]) rotate([0,180,0])
union() {
cube([4, 10, 4], center=true);
cube([8, 10, 2], center=true);
}
}
union() {
// extrusion cut
translate([-5, 20, 20]) rotate([180,0,0]) cube([35,35,35]);
translate([-5, 20, 20+35+2]) rotate([180,0,0]) cube([35,35,35]);
// fixing
translate([-1, 52, 10]) rotate([0,90,0]) cylinder(h=width+2, d=4, $fn=64);
translate([width/2, 10, 0]) cylinder(h=75, d=4, $fn=64);
// linear
translate([-1, 20+15, 5]) rotate([0,90,0]) cylinder(h=width+2, d=8, $fn=64);
translate([-1, 20+15, 4.5]) cube([width+2, 70, 1]);
// pulleys
translate([width/2, 62, -9]) cylinder(h=70+2, d=8, $fn=64);
translate([width/2, 62, 20])
difference() {
cube([width+1, 24, 9], center=true);
union() {
translate([0, 0, 3.5]) cylinder(h=1, d=10);
translate([0, 0, -4.5]) cylinder(h=1, d=10);
}
}
translate([width/2, 62, 30])
difference() {
cube([width+1, 24, 9], center=true);
union() {
translate([0, 0, 3.5]) cylinder(h=1, d=10);
translate([0, 0, -4.5]) cylinder(h=1, d=10);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment