From 6b6ffb2b74cc89ffecbcad7c304c3c4f047a8805 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 4 Jul 2022 10:15:01 +0100 Subject: [PATCH] Added SOICs to tests. --- tests/PCB.scad | 11 +++++++---- tests/SMDs.scad | 6 ++++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/tests/PCB.scad b/tests/PCB.scad index 0e65984..d899730 100644 --- a/tests/PCB.scad +++ b/tests/PCB.scad @@ -115,7 +115,6 @@ test_pcb = ["test_pcb", "Test PCB", [ 60, 3, 0, "flex"], [ 50, 15, -90, "flat_flex"], [ 40, 15, -90, "flat_flex", true], - [ 60, 35, 0, "D_plug", DCONN9], [ 50, 50, 0, "molex_hdr", 2], [ 50, 60, 0, "jst_xh", 2], @@ -140,8 +139,11 @@ test_pcb = ["test_pcb", "Test PCB", [ 55, 170, 0, "button_4p5mm"], [ 50, 185, 0, "microswitch", small_microswitch], [ 52, 200, 0, "pcb", 11, TMC2130 ], - [ 80, 200, 0, "pdip", 24, "27C32", true, inch(0.6) ], - [ 80, 170, 0, "pdip", 8, "NE555" ], + [ 80, 210, 0, "pdip", 24, "27C32", true, inch(0.6) ], + [ 80, 180, 0, "pdip", 8, "NE555" ], + [ 80, 166, -90, "smd_soic", SOIC18, "PIC18F88"], + [ 71, 166, -90, "smd_soic", SOIC16, "ICL323"], + [ 64, 166, -90, "smd_soic", SOIC8, "M34063"], [ 80, 150, 0, "chip", 10, 5, 1, grey(20)], [ 52, 206, 0, "2p54socket", 8, 1 ], @@ -149,7 +151,8 @@ test_pcb = ["test_pcb", "Test PCB", [ 50, 220, 0, "standoff", 5, 4.5, 12.5, 2.54], [ 50, 240, 0, "potentiometer"], [ 75, 240, 0, "potentiometer", KY_040_encoder, 8], - [ 30, 85, -90, "7seg", WT5011BSR, 2], + [ 30, 85, -90, "7seg", WT5011BSR, 2], + [ 30, 55, -90, "D_plug", DCONN9], ], // accessories [] diff --git a/tests/SMDs.scad b/tests/SMDs.scad index 4932f4f..54fcd78 100644 --- a/tests/SMDs.scad +++ b/tests/SMDs.scad @@ -38,6 +38,12 @@ module smds() { layout([for(s = smd_sots) smd_sot_size(s).x], 1) let(s = smd_sots[$i]) smd_sot(s, ["2N7000", "FZT851"][$i]); + + translate([0, 20]) + layout([for(s = smd_soics) smd_soic_size(s).x], 1) + let(s = smd_soics[$i]) + smd_soic(s, s[0]); + } if($preview)