Add ears for edge_front_bottom
This commit is contained in:
10
box.scad
10
box.scad
@@ -10,7 +10,7 @@ include <fdmouse.scad>
|
||||
|
||||
/* [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);
|
||||
|
||||
Reference in New Issue
Block a user