5 spike_web_thick = 2.52 + 0.5;
7 spike_top_width = 21.04;
9 spike_botpos_height = 9.5;
10 spike_botpos_width = 11.68;
23 main_width = spike_top_width + topwall_width*2;
25 pos_web_thick = spike_web_thick + topwall_width*2;
27 module NegativePlan(){
29 (spike_top_width - spike_botpos_width) /
30 (main_height - spike_botpos_height);
32 x0 = (spike_botpos_width - x4z * spike_botpos_height)/2;
33 x1 = spike_top_width/2;
46 module SomeMidRounding(sq_size, z_extra) {
47 translate([0,0,-z_extra])
48 linear_extrude(height= main_height + z_extra*2)
50 square( sq_size, center=true );
53 module PositiveMidRounding(){
54 // translate([0,0,-5])
55 // linear_extrude(height= main_height + 10)
57 // square( spike_web_thick*2.5, center=true );
60 module NegativeMidRounding(){
61 SomeMidRounding(spike_web_thick*2.5, 5);
64 module PositivePlan(){
66 translate([ -w/2, 0 ])
67 square([ w, main_height ]);
70 module MultiplySolidifyPlan(th){
74 translate([0,0,-th/2])
75 linear_extrude(height=th)
80 module MultiplyForMount(){
90 cube([ mount_dist + mount_width/2 + 1,
96 translate([ mount_dist, 0,0 ]) {
98 cylinder(r= mount_hole_dia/2, h= 20, $fn=20);
99 translate([0,0, mount_hole_th])
100 cylinder(r = mount_head_dia/2, h=20, $fn=20);
107 MultiplySolidifyPlan(pos_web_thick) PositivePlan();
108 PositiveMidRounding();
109 MultiplyForMount() Mount();
111 MultiplySolidifyPlan(spike_web_thick) NegativePlan();
112 NegativeMidRounding();
113 MultiplyForMount() MountHole();
118 linear_extrude(height=2.0){
124 circle(r = spike_botpos_width/2 + 5);
125 circle(r = spike_botpos_width/2);
126 translate([-50, 0]) square([100,50]);
129 linear_extrude(height=4.0){
131 translate([ -main_width/2, 0 ]) square([ main_width, 2 ]);
137 module MainFitTest(){
139 translate([0,0, -main_height + 0.5])
141 translate([-50,-50,0])