From 0ff3ae3dbedb6a0e013081eee3f1c409c53682bf Mon Sep 17 00:00:00 2001 From: Marian Rudzynski Date: Sun, 1 Dec 2024 12:08:54 -0800 Subject: [PATCH] yeeted the mirror and y axis, bring them back --- gridfinity-rebuilt-baseplate.scad | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gridfinity-rebuilt-baseplate.scad b/gridfinity-rebuilt-baseplate.scad index d0a4fdf..30f7b0c 100644 --- a/gridfinity-rebuilt-baseplate.scad +++ b/gridfinity-rebuilt-baseplate.scad @@ -395,12 +395,14 @@ module profile_skeleton(size=l_grid) { module cutter_screw_together(grid_size, padding_mm, size = l_grid) { gx = grid_size.x > 0 ? grid_size.x : 0; gy = grid_size.y > 0 ? grid_size.y : 0; - gh = grid_size.x == 0 ? padding_mm.x : (grid_size.y == 0 ? padding_mm.y : size); + gh = (grid_size.x == 0 ? padding_mm.x : (grid_size.y == 0 ? padding_mm.y : size)) + 1; - screw(gx, gy, gh + 1); + screw(gx, gy, gh); + rotate([0,0,90]) screw(gy, gx, gh); module screw(a, b, h = size) { - translate([a*h/2, 0, 0]) + copy_mirror([1,0,0]) + translate([a*h/2, 0, 0]) pattern_linear(1, b, 1, size) pattern_linear(1, n_screws, 1, d_screw_head + screw_spacing) rotate([0,90,0])