From 97e19d62765973ab8dea3fdc7c4b1c9129adc084 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Thu, 15 May 2025 15:31:47 -0700 Subject: [PATCH] Make slider orientation consistent with rail. --- sliders.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sliders.scad b/sliders.scad index 08867b3a..d6a5e18f 100644 --- a/sliders.scad +++ b/sliders.scad @@ -42,8 +42,8 @@ module slider(l=30, w=10, h=10, base=10, wall=5, ang=30, chamfer=2, anchor=BOTTO full_width = w + 2*wall; full_height = h + base; - attachable(anchor,spin,orient, size=[l, full_width, full_height], offset=[0,0,-h/2]) { - zrot(90) + attachable(anchor,spin,orient, size=[full_width, l, full_height], offset=[0,0,-h/2]) { + zrot(0) down(base+h/2) { // Base cuboid([full_width, l, base-get_slop()], chamfer=chamfer, edges=[FRONT,BACK], except_edges=BOT, anchor=BOTTOM);