mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-23 05:34:23 +00:00
30e82fc442
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
17 lines
419 B
OpenSCAD
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);
|
|
}
|
|
}
|
|
}
|