-module BodyPositive(){
- color("blue") linear_extrude(height=60) RearSideTemplate();
- translate([0,0,-attach_down]) linear_extrude(height=100) AttachTemplate();
-}
-
-module Tube(){
- %translate([attach_cx, -attach_cdy, -20]) {
- rotate_extrude(convexity=10) {
- translate([attach_inrad + attach_tube_dia/2, 0])
- circle(r=attach_tube_dia/2);
- }
- }
-}
-
-module Bolt(){
- %translate([0,0,-50]) linear_extrude(height=80) {
- circle(r=attach_hole_dia/2, $fn=20);
- }
- %translate([0,0,10]) linear_extrude(height=20) {
- circle(r=attach_hole_dia/2 * 2, $fn=20);
+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);
+ }