From f2d2fdf4044d603abcb620e817d0dccefac04734 Mon Sep 17 00:00:00 2001 From: Stephen J Carpenter Date: Sun, 29 Dec 2024 21:02:42 -0500 Subject: [PATCH] Add ears for edge_front_bottom --- box.scad | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/box.scad b/box.scad index 5070302..173b75e 100644 --- a/box.scad +++ b/box.scad @@ -10,7 +10,7 @@ include /* [Part] */ -PART = ""; // [ all_corners, corner_top, corner_bottom, edge_back_bottom, edge_side_top, edge_side_foot, edge_top_front, edge_top_back, edge_test, full_box, joiner_top, joiner_bottom, profile, side_edge, rbfoot, hinge ] +PART = ""; // [ all_corners, corner_top, corner_bottom, edge_back_bottom, edge_front_bottom, edge_side_top, edge_side_foot, edge_top_front, edge_top_back, edge_test, full_box, joiner_top, joiner_bottom, profile, side_edge, rbfoot, hinge ] /* [Dimensions] */ @@ -265,6 +265,14 @@ if (PART == "all_corners") box_all_corners(ex=30); if (PART == "corner_top") box_corner(zw=true, zfl=false); if (PART == "corner_bottom") box_corner(zw=false, zfl=true); +if (PART == "edge_front_bottom") { + left(coff/2-2*psoff) back(lx/3/2)zrot(315)ear(thick=.2, dis=-2); + right(coff/2-2*psoff) back(lx/3/2)zrot(225)ear(thick=.2, dis=-2); + left(coff/2-2*psoff) fwd(lx/3/2)zrot(45)ear(thick=.2, dis=-2); + right(coff/2-2*psoff) fwd(lx/3/2)zrot(135)ear(thick=.2, dis=-2); + up((wt+wl)/sqrt(2))xrot(90) zrot(45) + box_edge(l=lx/3, jup=true, jdown=true, flx=true, wx=false, tubepass=false, orient=ORIENT_Z); +} if (PART == "edge_back_bottom") { left(coff/2-2*psoff) back(lx/3/2)zrot(315)ear(thick=.2, dis=-2); right(coff/2-2*psoff) back(lx/3/2)zrot(225)ear(thick=.2, dis=-2);