3 // brk_*: "bracket", the Topeak MTX bracket
4 // rack_*: the Tortec rack
5 // adapt_*: the adapter, ie this file
9 brk_recess_actual = 5.20;
11 rack_rail_dia = 10.40 + 0.50;
12 rack_width_inner = 115.86 + 1.0; // between insides of rails
14 rear_elevation_nominal = 10.04; // top of rack to bottom of bracket
15 rear_to_front_distance = 230;
19 main_sz_z = 20; // xxx
25 brk_bottom_y = -brk_recess_actual;
26 adapt_main_top_y = brk_bottom_y + general_gap_y;
29 rack_rail_x = -(rack_width_inner/2 + rack_rail_dia/2);
30 rack_rail_outer_x = -(rack_width_inner/2 + rack_rail_dia);
32 grasp_large_r = (rack_rail_dia + grasp_sz)/2;
33 grasp_large_x = rack_rail_outer_x + grasp_large_r;
35 module GraspElevation(){
37 translate([ grasp_large_x, adapt_main_top_y - grasp_large_r ])
38 circle(grasp_large_r);
40 translate([ grasp_large_x, $rack_rail_y - rack_rail_dia/2 ])
41 circle(grasp_large_r);
43 translate([ grasp_large_x, $rack_rail_y + rack_rail_dia/2 ])
44 circle(grasp_large_r);
48 module BlockElevation(){
49 rectfromto([ -rack_width_inner/2, adapt_main_top_y ],
50 [ +rack_width_inner/2, adapt_main_top_y - main_sz_y ]);
55 $rack_rail_y = brk_bottom_y - $elevation_nominal
56 - general_gap_y - rack_rail_dia/2;
59 linextr(0, main_sz_z){
62 mirror([1,0]) GraspElevation();
65 linextr(-10, main_sz_z+10) {
68 translate([ rack_rail_x, $rack_rail_y ]){
70 for (dx = [-rack_rail_dia, 0])
72 circle(r= rack_rail_dia/2);
81 Principal($elevation_nominal=0);