From 4bc57c63f690075bcb1bffa8668e9ab2a04aaf9a Mon Sep 17 00:00:00 2001 From: Zeos-ctrl Date: Mon, 24 Apr 2023 11:45:15 +0100 Subject: [PATCH] added screw holder function --- Mechanical/OpenSCAD/Roamer.scad | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Mechanical/OpenSCAD/Roamer.scad b/Mechanical/OpenSCAD/Roamer.scad index e58ddd1..9eb925a 100644 --- a/Mechanical/OpenSCAD/Roamer.scad +++ b/Mechanical/OpenSCAD/Roamer.scad @@ -140,6 +140,8 @@ module expansion_card_lid() { translate([base[0]/2-usb_c_w/2+gap, base[1]-side_wall-gap, usb_c_r+usb_c_h]) cube([usb_c_w-gap*2, side_wall+gap, base[2]-(usb_c_r+usb_c_h)]); translate([base[0]/2, base[1], usb_c_r+usb_c_h]) usb_c_cutout(false); } + // Adds screw holder to lid + screw_holders(); } // engrave LES logo into lid translate([3, 20, 7]) linear_extrude(height=1.5, center=true) { @@ -251,9 +253,18 @@ module expansion_card_ext() { } } +module screw_holders() { + outline = [1,5,5]; + difference() { + cube([outline[0],outline[1],outline[2]]); + radius = 2; + height = 10; + rotate([0,90,0]) translate([(-outline[0]*2)-0.5,outline[1]/2, (outline[2]/2)-5]) cylinder(h = height,r = radius); + } +} + translate([0, -base[1], 0]) expansion_card_base(open_end = false, make_printable = true, pcb_mount="boss"); translate([-base_ext[0]+base[0], -base_ext[1]-base[1], 0]) expansion_card_ext(); -translate([0, 0, 5]) expansion_card_lid(); - +translate([-60, -35, 0]) expansion_card_lid();