Revisiting Cad Exercises
difference(){
union(){
translate([0,0,-10])cylinder(80,25,25);
translate([0,0,-10])cylinder(96,17.5,17.5);
intersection(){
linear_extrude(40,convexity=20){
P();
mirror([0,1,0]) P();
}
translate([40,0,20])rotate([90,0,0])
cylinder(90,70,70,center=true,$fn=60);
}
}
translate([0,0,-20])cylinder(120,10,10);
translate([90,0,20])rotate([90,0,0])
cylinder(100,6,6,center=true,$fn=60);
}
module P()
{
polygon([
[0,0],[35,0],[35,15],
[75,15],[75,35],[110,35],
[110,45],[65,45],[65,25],
[25,25],[0,25]]);
}
No comments:
Post a Comment