From dcdfa706f51263e7f5d4a4b9c25e9da52b83c7aa Mon Sep 17 00:00:00 2001 From: Arthur Moore Date: Mon, 15 Apr 2024 01:19:49 -0400 Subject: [PATCH] Fix refined_hole. Accidentally removed a bit too much of the bottom layer. --- gridfinity-rebuilt-holes.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); }