From 115f7ba6cb241af054f05fae2c18229f4cb800ac Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Sat, 15 Apr 2023 12:13:58 +0100 Subject: [PATCH] Updated dimensions --- Mechanical/OpenSCAD/ExpansionCard.scad | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Mechanical/OpenSCAD/ExpansionCard.scad b/Mechanical/OpenSCAD/ExpansionCard.scad index be0f5cd..469b709 100644 --- a/Mechanical/OpenSCAD/ExpansionCard.scad +++ b/Mechanical/OpenSCAD/ExpansionCard.scad @@ -13,7 +13,7 @@ base = [30.0, 32.0, 6.8]; // The extension for the mini PCIe slot -base_ext = [49, 33, 13]; +base_ext = [56.4, 33, 13]; // The default wall thickness side_wall = 1.5; @@ -231,7 +231,7 @@ module expansion_card_ext() { // cutout to bring base and ext card together // not sure why it needs 0.5mm added, rounding error maybe? - translate([base[0]-9.5, 5, side_wall]) cube([cutout[0], cutout[1], cutout[2]]); + translate([base[0]-2.1, 5, side_wall]) cube([cutout[0], cutout[1], cutout[2]]); difference() { notch = 1.0; @@ -248,10 +248,9 @@ module expansion_card_ext() { } } -// Rotate into a printable orientation -rotate([-90, 0, 0]) translate([0, -base[1], 0]) expansion_card_base(open_end = false, make_printable = true, pcb_mount="boss"); +translate([0, -base[1], 0]) expansion_card_base(open_end = false, make_printable = true, pcb_mount="boss"); -rotate([-90, 0, 0]) translate([-base_ext[0]+base[0], -base_ext[1]-base[1], 0]) expansion_card_ext(); +translate([-base_ext[0]+base[0], -base_ext[1]-base[1], 0]) expansion_card_ext(); /*expansion_card_lid();