-module CatchPortion(width){
- translate([phone_width/2, 0,0])
- rotate([90,0,-90])
- linextr(-width/2, width/2)
- children(0);
+module CatchPortion(xwidth, ztop){
+ width = catch_width + xwidth;
+ w = width + catch_topcurve_r*2 + 1;
+ translate([phone_width/2, 0,0]){
+ difference(){
+ rotate([90,0,-90])
+ linextr(-w/2, w/2)
+ children(0);
+ translate([0, 50, 0])
+ rotate([90,0,0])
+ linear_extrude(height=100){
+ for (m=[0,1]) mirror([m,0,0]) {
+ hull(){
+ translate([w/2, ztop - catch_topcurve_r])
+ circle(catch_topcurve_r);
+ translate([w/2, -50])
+ square(catch_topcurve_r*2, center=true);
+ }
+ }
+ }
+ }
+ }