diff --git a/vitamins/pcb.scad b/vitamins/pcb.scad index 289cc84..43e99e7 100644 --- a/vitamins/pcb.scad +++ b/vitamins/pcb.scad @@ -988,7 +988,7 @@ module pcb_assembly(type, height, thickness) { //! Draw PCB assembly with spaces translate_z(height + pcb_thickness(type)) screw(screw, screw_length); - color(pp1_colour) + stl_colour(pp1_colour) if(taper) pcb_spacer(screw, height, taper = 2); else diff --git a/vitamins/veroboard.scad b/vitamins/veroboard.scad index 3b1cb49..b6c1938 100644 --- a/vitamins/veroboard.scad +++ b/vitamins/veroboard.scad @@ -162,7 +162,7 @@ assembly(vero_assembly(type)) { else screw_and_washer(screw, screw_length); - color(pp1_colour) pcb_spacer(screw, height); + stl_colour(pp1_colour) pcb_spacer(screw, height); translate_z(-thickness) vflip() diff --git a/vitamins/washer.scad b/vitamins/washer.scad index 7c4aacc..2fcd4e1 100644 --- a/vitamins/washer.scad +++ b/vitamins/washer.scad @@ -122,7 +122,7 @@ module printed_washer(type, name = false) { //! Create printed washer t = round_to_layer(washer_thickness(type)); or = washer_radius(type); ir = washer_id(type) / 2; - color(pp1_colour) + stl_colour(pp1_colour) linear_extrude(t, center = false, convexity = 2) poly_ring(or, ir);