-module Bolts(){
- %translate([0,0,-50]) linear_extrude(height=80) {
- translate([attach_cx, -attach_cdy]) rotate([0,0,-attach_ang]) {
- translate([attach_inrad - attach_hole_dist - attach_hole_dia/2, 0])
- circle(r=attach_hole_dia/2, $fn=20);
- translate([attach_inrad + attach_tube_dia
- +attach_hole_dist + attach_hole_dia/2, 0])
- circle(r=attach_hole_dia/2, $fn=20);
+module MainCutout(){
+ ArchCircle(arch_in_rad);
+}
+
+module Arch(){
+ difference(){
+ rotate([0,0,180]){
+ linear_extrude(height=arch_breadth) {
+ difference(){
+ ArchProfile(false);
+ MainCutout();
+ }
+ }
+ difference(){
+ translate([0,0, arch_breadth - pbase_thick])
+ linear_extrude(height=pbase_thick){
+ difference(){
+ hull(){
+ ArchProfile(true);
+ ArchProfile(false);
+ }
+ intersection(){
+ MainCutout();
+ translate([0, -inner_pbase_thick
+ - (inner_pbase_rad - arch_in_rad)])
+ ArchCircle(inner_pbase_rad);
+ }
+ }
+ }
+ }