From 0b7bf6ee7897e68b5c308e5926cd2cb507737822 Mon Sep 17 00:00:00 2001 From: Stephen Kent Date: Sun, 28 Jan 2024 20:21:37 -0800 Subject: [PATCH] Fix clearence -> clearance typo --- gridfinity-rebuilt-baseplate.scad | 8 ++++---- standard.scad | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gridfinity-rebuilt-baseplate.scad b/gridfinity-rebuilt-baseplate.scad index b6927bd..e806820 100644 --- a/gridfinity-rebuilt-baseplate.scad +++ b/gridfinity-rebuilt-baseplate.scad @@ -72,13 +72,13 @@ module gridfinityBaseplate(gridx, gridy, length, dix, diy, sp, sm, sh, fitx, fit gx = gridx == 0 ? floor(dix/length) : gridx; gy = gridy == 0 ? floor(diy/length) : gridy; - dx = max(gx*length-bp_xy_clearence, dix); - dy = max(gy*length-bp_xy_clearence, diy); + dx = max(gx*length-bp_xy_clearance, dix); + dy = max(gy*length-bp_xy_clearance, diy); off = calculate_off(sp, sm, sh); - offsetx = dix < dx ? 0 : (gx*length-bp_xy_clearence-dix)/2*fitx*-1; - offsety = diy < dy ? 0 : (gy*length-bp_xy_clearence-diy)/2*fity*-1; + offsetx = dix < dx ? 0 : (gx*length-bp_xy_clearance-dix)/2*fitx*-1; + offsety = diy < dy ? 0 : (gy*length-bp_xy_clearance-diy)/2*fity*-1; difference() { translate([offsetx,offsety,h_base]) diff --git a/standard.scad b/standard.scad index 90790db..2e76a29 100644 --- a/standard.scad +++ b/standard.scad @@ -69,8 +69,8 @@ bp_rcut_width = 8.5; bp_rcut_length = 4.25; // Baseplate bottom cutout rounded thingy depth bp_rcut_depth = 2; -// Baseplate clearence offset -bp_xy_clearence = 0.5; +// Baseplate clearance offset +bp_xy_clearance = 0.5; // countersink diameter for baseplate d_cs = 2.5; // radius of cutout for skeletonized baseplate