diff --git a/tests/png/pcb.png b/tests/png/pcb.png index 65a42a7..8c6e033 100644 Binary files a/tests/png/pcb.png and b/tests/png/pcb.png differ diff --git a/tests/png/pcbs.png b/tests/png/pcbs.png index afe2c26..7628617 100644 Binary files a/tests/png/pcbs.png and b/tests/png/pcbs.png differ diff --git a/vitamins/pcb.scad b/vitamins/pcb.scad index 1c68442..8b0b150 100644 --- a/vitamins/pcb.scad +++ b/vitamins/pcb.scad @@ -1021,8 +1021,6 @@ module pcb(type) { //! Draw specified PCB for(part = pcb_accessories(type)) vitamin(part); - pcb_components(type); - color(pcb_colour(type)) linear_extrude(t) difference() { if(Len(pcb_polygon(type))) polygon(pcb_polygon(type)); @@ -1076,6 +1074,8 @@ module pcb(type) { //! Draw specified PCB circle(d = 2); } } + + pcb_components(type); } module pcb_spacer(screw, height, wall = 1.8, taper = 0) { //! Generate STL for PCB spacer