diff --git a/gridfinity-rebuilt-holes.scad b/gridfinity-rebuilt-holes.scad index 5dab15e..920d3b3 100644 --- a/gridfinity-rebuilt-holes.scad +++ b/gridfinity-rebuilt-holes.scad @@ -101,7 +101,8 @@ module refined_hole() { ptl = refined_offset + LAYER_HEIGHT; // Additional layer just in case poke_through_height = REFINED_HOLE_HEIGHT + ptl; poke_hole_radius = 2.5; - poke_hole_center = [-12.53 + 5.60, 0, -ptl]; + magic_constant = 5.60; + poke_hole_center = [-12.53 + magic_constant, 0, -ptl]; translate([0, 0, refined_offset]) union() { @@ -112,7 +113,7 @@ module refined_hole() { // Poke hole translate([poke_hole_center.x, -poke_hole_radius/2, poke_hole_center.z]) - cube([abs(poke_hole_center.x), poke_hole_radius, poke_through_height]); + cube([10 - magic_constant, poke_hole_radius, poke_through_height]); translate(poke_hole_center) cylinder(poke_through_height, d=poke_hole_radius); }