-module AttachElevation(anddown){
- hull(){
- translate([-cover_len - 0.5, leftend_dz - leftend_zsz/2])
- square([1, leftend_zsz]);
- translate([-comp_dx - comp_xsz/2, -0.1])
- square([comp_xsz, comp_zsz + min_thick]);
- translate([attach_xmax, 0])
- square([1, rightend_thick + bolthead_space]);
- }
- if (anddown)
- translate([-comp_dx, -attach_down-5])
- square([comp_dx + attach_xmax+2, attach_down+6]);
-}
-
-module AttachElevationSelector(anddown) {
- translate([0,100,0]) rotate([90,0,0]) linear_extrude(height=200)
- AttachElevation(anddown);
-}
-
-module BodyPositive(){
- intersection(){
- linear_extrude(height=60) RearSideTemplate();
- AttachElevationSelector(false);
- }
- intersection(){
- translate([0,0,-attach_down]) linear_extrude(height=100) AttachTemplate();
- AttachElevationSelector(true);
+module Holes(){
+ for (m=[0,1]) {
+ mirror([1-m,0])
+ translate([arch_width/2, 50, 0])
+ rotate([90,0,0])
+ for (h=holes[m]) {
+ translate(h)
+ cylinder(r=hole_dia/2, h=100, $fn=20);
+ }