Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2013
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. module motor_part_J() color("blue") difference(){
  2.     union(){
  3.        
  4.         //translate([0,0,-12]) difference(){
  5.             //cylinder(r=23,h=28);
  6.             //translate([0,0,-1])cylinder(r=21,h=55);
  7.             //translate([0,0,28]) rotate([0,-27,0])cube([70,60,22],center=true);
  8.             //translate([0,0,-6]) rotate([0,-25,0])cube([60,60,20],center=true);
  9.         //}
  10.        
  11.         scale([1,1.55,1]) translate([23,0,0]) rotate([0,90,180]) difference(){
  12.             cylinder(r=13.5,h=46);
  13.             translate([0,0,-1])cylinder(r=12,h=85);
  14.             translate([0,0,48]) rotate([0,-50,0])cube([80,60,22],center=true);
  15.             rotate([0,-90,0]) translate([23,0,-20]) cylinder(r=10,h=50);
  16.             //translate([0,0,-1]) rotate([0,-45,0])cube([80,60,22],center=true);
  17.         }
  18.         for(i=[1:4])rotate([i*90,0,0]) translate([20,0,10]) rotate([0,90,0]) difference(){
  19.             cylinder(r=4.5,h=6,center=true);
  20.         }
  21.         for(i=[-1,1]) translate([12*i,0,0]) translate([0,0,-9]) cube([1.5,24,6],center=true);
  22.         translate([0,0,-10]) rotate([0,90,0]) difference(){
  23.             cylinder(r=4.5,h=46,center=true);
  24.         }
  25.         translate([20,0,0]) rotate([0,90,0]) difference(){
  26.             cylinder(r=8,h=6,center=true);
  27.             cylinder(r=6,h=11,center=true);
  28.         }
  29.         for(i=[1:4]) rotate([0,0,i*90+45]) translate([17,0,-9]) cylinder(r=3.5,h=6,$fn=18,center=true);
  30.     }
  31.     translate([0,0,-6]) cylinder(r=16,h=50);
  32.     for(i=[1:4]) rotate([0,0,i*90+45]) translate([17,0,-8]) cylinder(r=1.5+k,h=15,$fn=18,center=true);
  33.     for(i=[1:4])rotate([i*90,0,0]) translate([0,0,10]) rotate([0,90,0]) cylinder(r=2.5,h=60,center=true);
  34.    
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement