single_extruder_multimaterial_legends.scad
1 include <../includes.scad> 2 3 /* Don't have a multimaterial printer but still want cool "doubleshot" legends? 4 with a couple tricks, you can! We just have to print upside down with no 5 dish. 6 7 Here's how to use this file: 8 9 1. modify it as you see fit 10 2. render the legends and the keycaps separately 11 3. run the legends through your 3d printer. make sure they are a single layer 12 4. LEAVE THEM on the bed 13 5. change filaments 14 6. run the keycaps over the legends. MAKE SURE they line up! PrusaSlicer 15 centers models on the bed 16 7. voila! 17 8. use a powder-coated bed for extra points 18 */ 19 20 legends = ["F1", "1", "q", "a", "z", ""]; 21 for (x = [0:1:4]) { 22 translate_u(0,-x) dcs_row(x, 0) upside_down() legend(legends[x]) { 23 $dish_type = "disable"; 24 $inset_legend_depth = 0.2; // whatever layer height you use 25 26 union() { 27 // swap the debug()s to render opposite part 28 debug() key(true); 29 /* debug() */ dished() { 30 legends($inset_legend_depth); 31 } 32 } 33 } 34 }