diff --git a/tests/PCB.scad b/tests/PCB.scad index 25d4e2d..dde0528 100644 --- a/tests/PCB.scad +++ b/tests/PCB.scad @@ -19,7 +19,6 @@ include <../core.scad> include <../vitamins/microswitches.scad> include <../vitamins/d_connectors.scad> -include <../vitamins/green_terminals.scad> use <../vitamins/pcb.scad> @@ -81,7 +80,7 @@ test_pcb = ["TestPCB", "Test PCB", [ 10, 310, 0, "jst_xh", 2], [ 10, 320, 180, "term254", 3], [ 20, 320, 180, "term254", 3, undef, grey20], - [ 30, 320, 180, "gterm", gt_5p08, 2, undef, "blue"], + [ 30, 320, 180, "gterm508",2, undef, "blue"], [ 10, 340, 180, "gterm35", 4, [1,2]], [ 20, 340, 180, "gterm35", 4, [1,2], "red"], [ 30, 340, 180, "gterm", gt_5x11, 3], diff --git a/vitamins/pcb.scad b/vitamins/pcb.scad index 43e99e7..888cd81 100644 --- a/vitamins/pcb.scad +++ b/vitamins/pcb.scad @@ -808,6 +808,7 @@ module pcb_component(comp, cutouts = false, angle = undef) { //! Draw pcb compon if(show(comp, "term254")) if(!cutouts) green_terminal(gt_2p54,comp[4], comp[5], param(6,"lime")); if(show(comp, "gterm")) if(!cutouts) green_terminal(comp[4], comp[5], comp[6], param(7,"lime")); if(show(comp, "gterm35")) if(!cutouts) green_terminal(gt_3p5, comp[4], comp[5], param(6,"lime")); + if(show(comp, "gterm508")) if(!cutouts) green_terminal(gt_5p08, comp[4], comp[5], param(6,"lime")); if(show(comp, "gterm635")) if(!cutouts) green_terminal(gt_6p35, comp[4], comp[5], param(6,"lime")); if(show(comp, "term35")) if(!cutouts) terminal_35(comp[4], param(5,"blue")); if(show(comp, "transition")) if(!cutouts) idc_transition(2p54header, comp[4], comp[5]);