2 changed files with 15 additions and 15 deletions
@ -1,16 +1,16 @@
@@ -1,16 +1,16 @@
|
||||
$fn =32; |
||||
|
||||
module deckel(){ |
||||
module deckel(gap=0,cyl_h=2){ |
||||
height = 0.5; |
||||
dia1 = 1.7; |
||||
dia2 = 1.5; |
||||
cyl_h = 2; |
||||
dia1 = 1.7+gap; |
||||
dia2 = 1.5+gap; |
||||
h_offset = (height+cyl_h)/2; |
||||
cube([25,20,height],true); |
||||
translate([11.5,0,0])cube([5,5,height],true); |
||||
translate([13+1,0,0])cylinder(h=height,d=5,center=true); |
||||
translate([2-13+25,0,1])cylinder(h=cyl_h,d=dia1,center=true); |
||||
translate([2-13,-8.5,1])cylinder(h=cyl_h,d=dia2,center=true); |
||||
translate([2-13, 8.5,1])cylinder(h=cyl_h,d=dia2,center=true); |
||||
translate([2-13+25,0,h_offset])cylinder(h=cyl_h,d=dia1,center=true); |
||||
translate([2-13,-8.5,h_offset])cylinder(h=cyl_h,d=dia2,center=true); |
||||
translate([2-13, 8.5,h_offset])cylinder(h=cyl_h,d=dia2,center=true); |
||||
} |
||||
|
||||
deckel(); |
||||
|
Loading…
Reference in new issue