KeyV2/examples/multimaterial_legend.scad
Bob cacbcc6d9c Add common examples
I want to keep the primary documentation digestible, but there are a lot of common use-cases that are a little tricky to figure out. I'm going to start adding those to the examples directory
2020-05-01 16:11:37 -04:00

17 lines
419 B
OpenSCAD

include <../includes.scad>
/* in this example we'll use some openSCAD to generate files for printing inset
legends with a multimaterial printer.
*/
legends = ["F1", "1", "q", "a", "z", ""];
for (x = [0:1:4]) {
translate_u(0,-x) legend(legends[x]) dcs_row(x, 0) {
// swap the debug()s to render opposite part
debug() key(true);
/* debug() */ dished() {
legends($inset_legend_depth);
}
}
}