mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-26 14:54:21 +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
35 lines
1017 B
OpenSCAD
35 lines
1017 B
OpenSCAD
include <../includes.scad>
|
|
|
|
/* Don't have a multimaterial printer but still want cool "doubleshot" legends?
|
|
with a couple tricks, you can! We just have to print upside down with no
|
|
dish.
|
|
|
|
Here's how to use this file:
|
|
|
|
1. modify it as you see fit
|
|
2. render the legends and the keycaps separately
|
|
3. run the legends through your 3d printer. make sure they are a single layer
|
|
4. LEAVE THEM on the bed
|
|
5. change filaments
|
|
6. run the keycaps over the legends. MAKE SURE they line up! PrusaSlicer
|
|
centers models on the bed
|
|
7. voila!
|
|
8. use a powder-coated bed for extra points
|
|
*/
|
|
|
|
legends = ["F1", "1", "q", "a", "z", ""];
|
|
for (x = [0:1:4]) {
|
|
translate_u(0,-x) dcs_row(x, 0) upside_down() legend(legends[x]) {
|
|
$dish_type = "disable";
|
|
$inset_legend_depth = 0.2; // whatever layer height you use
|
|
|
|
union() {
|
|
// swap the debug()s to render opposite part
|
|
debug() key(true);
|
|
/* debug() */ dished() {
|
|
legends($inset_legend_depth);
|
|
}
|
|
}
|
|
}
|
|
}
|