diff --git a/gulpfile.js b/gulpfile.js old mode 100755 new mode 100644 diff --git a/keys.scad b/keys.scad index e39d471..f786b9b 100644 --- a/keys.scad +++ b/keys.scad @@ -24,4 +24,4 @@ dcs_row(5) legend("⇪", size=9) key(); } */ // example layout -/* preonic_default("dcs"); */ +/* preonic_default("dcs"); */ \ No newline at end of file diff --git a/src/key_layouts.scad b/src/key_layouts.scad index 28e2194..e4e0384 100644 --- a/src/key_layouts.scad +++ b/src/key_layouts.scad @@ -13,3 +13,5 @@ include include include include + +include \ No newline at end of file diff --git a/src/layouts/dactyl_manuform/4x6.scad b/src/layouts/dactyl_manuform/4x6.scad new file mode 100644 index 0000000..1c8b14e --- /dev/null +++ b/src/layouts/dactyl_manuform/4x6.scad @@ -0,0 +1,26 @@ +include <../layout.scad> + +dactyl_manuform_4x6_main = [ + [1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1], + [1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1], + [1, 1, 1, 1, 1, 1, -1, 1, 1, 1, 1, 1, 1], + [-1, -1, 1, 1, -1, -1, -1, -1, -1, 1, 1, -1, -1] +]; + +dactyl_manuform_4x6_thumbs_l = [ + [1.25, 1.25], + [-0.25, 1, 1], + [-0.25, 1, 1] +]; + +dactyl_manuform_4x6_thumbs_r = [ + [1.25, 1.25], + [-0.25, 1, 1], + [-0.25, 1, 1] +]; + +module dactyl_manuform_4x6(profile) { + layout(dactyl_manuform_4x6_main, profile) children(); + translate_u(3,-5) rotate([0,0,25])layout(dactyl_manuform_4x6_thumbs_l, profile, row_override=3) children(); + translate_u(7.75,-3.95) rotate([0,0,-25])layout(dactyl_manuform_4x6_thumbs_r, profile, row_override=3) children(); +}