KeyV2/keys.scad

23 lines
707 B
OpenSCAD
Raw Normal View History

// the point of this file is to be a sort of DSL for constructing keycaps.
// when you create a method chain you are just changing the parameters
// key.scad uses, it doesn't generate anything itself until the end. This
// lets it remain easy to use key.scad like before (except without key profiles)
// without having to rely on this file. Unfortunately that means setting tons of
// special variables, but that's a limitation of SCAD we have to work around
2020-02-23 13:11:33 +11:00
include <./includes.scad>
2019-09-08 06:59:29 +10:00
u(1) choc() {
flared_support() tined_stem_support() sa_row(1){
2019-09-08 06:59:29 +10:00
$stem_support_height = 2;
low_profile() {
key();
}
}
}
/* translate_u(1,0) u(1) choc() row_profile("oem") low_profile() key(); */