commit
bfed8b8779
|
@ -1,4 +1,5 @@
|
||||||
include <constants.scad>
|
include <constants.scad>
|
||||||
|
include <settings.scad>
|
||||||
|
|
||||||
// I use functions when I need to compute special variables off of other special variables
|
// I use functions when I need to compute special variables off of other special variables
|
||||||
// functions need to be explicitly included, unlike special variables, which
|
// functions need to be explicitly included, unlike special variables, which
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module asa_row(row=3, column = 0) {
|
module asa_row(row=3, column = 0) {
|
||||||
$key_shape_type = "sculpted_square";
|
$key_shape_type = "sculpted_square";
|
||||||
$bottom_key_height = 18.06;
|
$bottom_key_height = 18.06;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
// based off GMK keycap set
|
// based off GMK keycap set
|
||||||
|
|
||||||
module cherry_row(row=3, column=0) {
|
module cherry_row(row=3, column=0) {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module dcs_row(row=3, column=0) {
|
module dcs_row(row=3, column=0) {
|
||||||
$bottom_key_width = 18.16;
|
$bottom_key_width = 18.16;
|
||||||
$bottom_key_height = 18.16;
|
$bottom_key_height = 18.16;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module dsa_row(row=3, column = 0) {
|
module dsa_row(row=3, column = 0) {
|
||||||
$key_shape_type = "sculpted_square";
|
$key_shape_type = "sculpted_square";
|
||||||
$bottom_key_width = 18.24; // 18.4;
|
$bottom_key_width = 18.24; // 18.4;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module dss_row(n=3, column=0) {
|
module dss_row(n=3, column=0) {
|
||||||
$key_shape_type = "sculpted_square";
|
$key_shape_type = "sculpted_square";
|
||||||
$bottom_key_width = 18.24;
|
$bottom_key_width = 18.24;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module g20_row(row=3, column = 0) {
|
module g20_row(row=3, column = 0) {
|
||||||
$bottom_key_width = 18.16;
|
$bottom_key_width = 18.16;
|
||||||
$bottom_key_height = 18.16;
|
$bottom_key_height = 18.16;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module grid_row(row=3, column = 0) {
|
module grid_row(row=3, column = 0) {
|
||||||
$bottom_key_width = 18.16;
|
$bottom_key_width = 18.16;
|
||||||
$bottom_key_height = 18.16;
|
$bottom_key_height = 18.16;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module hipro_row(row=3, column=0) {
|
module hipro_row(row=3, column=0) {
|
||||||
$key_shape_type = "sculpted_square";
|
$key_shape_type = "sculpted_square";
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
// This is an imperfect attempt to clone the MT3 profile
|
// This is an imperfect attempt to clone the MT3 profile
|
||||||
module mt3_row(row=3, column=0, deep_dish=false) {
|
module mt3_row(row=3, column=0, deep_dish=false) {
|
||||||
$key_shape_type = "sculpted_square";
|
$key_shape_type = "sculpted_square";
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module oem_row(row=3, column = 0) {
|
module oem_row(row=3, column = 0) {
|
||||||
$bottom_key_width = 18.05;
|
$bottom_key_width = 18.05;
|
||||||
$bottom_key_height = 18.05;
|
$bottom_key_height = 18.05;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
include <../constants.scad>
|
include <../constants.scad>
|
||||||
// Regular polygon shapes CIRCUMSCRIBE the sphere of diameter $bottom_key_width
|
// Regular polygon shapes CIRCUMSCRIBE the sphere of diameter $bottom_key_width
|
||||||
// This is to make tiling them easier, like in the case of hexagonal keycaps etc
|
// This is to make tiling them easier, like in the case of hexagonal keycaps etc
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
|
|
||||||
module sa_row(n=3, column=0) {
|
module sa_row(n=3, column=0) {
|
||||||
$key_shape_type = "sculpted_square";
|
$key_shape_type = "sculpted_square";
|
||||||
$bottom_key_width = 18.4;
|
$bottom_key_width = 18.4;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
use <../functions.scad>
|
||||||
|
include <../settings.scad>
|
||||||
include <../constants.scad>
|
include <../constants.scad>
|
||||||
// Regular polygon shapes CIRCUMSCRIBE the sphere of diameter $bottom_key_width
|
// Regular polygon shapes CIRCUMSCRIBE the sphere of diameter $bottom_key_width
|
||||||
// This is to make tiling them easier, like in the case of hexagonal keycaps etc
|
// This is to make tiling them easier, like in the case of hexagonal keycaps etc
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
include <functions.scad>
|
include <functions.scad>
|
||||||
|
use <key_sizes.scad>
|
||||||
|
use <key_transformations.scad>
|
||||||
|
|
||||||
module spacebar() {
|
module spacebar() {
|
||||||
$inverted_dish = $dish_type != "disable";
|
$inverted_dish = $dish_type != "disable";
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
include <../layout.scad>
|
||||||
|
|
||||||
|
hhkb_layout = [
|
||||||
|
[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
|
||||||
|
[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],
|
||||||
|
[1.75,1,1,1,1,1,1,1,1,1,1,1,2.25],
|
||||||
|
[2.25,1,1,1,1,1,1,1,1,1,1,1.75,1],
|
||||||
|
[-1.5,1,1.5,6,1.5,1]
|
||||||
|
];
|
||||||
|
|
||||||
|
hhkb_legends = [
|
||||||
|
["Esc", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "\\", "`"],
|
||||||
|
["Tab", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "Delete"],
|
||||||
|
["Ctrl", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", "Return"],
|
||||||
|
["Shift", "z", "x", "c", "v", "b", "n", "m", ",", ".", "/", "Shift", "Fn"],
|
||||||
|
["", "Alt", "Cmd", "", "Cmd", "Alt"],
|
||||||
|
];
|
||||||
|
|
||||||
|
module hhkb_default(profile) {
|
||||||
|
layout(hhkb_layout, profile, hhkb_legends) children();
|
||||||
|
}
|
|
@ -1,3 +1,8 @@
|
||||||
|
use <../key_transformations.scad>
|
||||||
|
use <../key_profiles.scad>
|
||||||
|
use <../key_sizes.scad>
|
||||||
|
use <../key_types.scad>
|
||||||
|
|
||||||
// sums all values, unless a value is negative, in which case it makes it positive
|
// sums all values, unless a value is negative, in which case it makes it positive
|
||||||
// dirty hack to allow for large gaps in keysets
|
// dirty hack to allow for large gaps in keysets
|
||||||
function abs_sum(list, x=0) =
|
function abs_sum(list, x=0) =
|
||||||
|
|
Loading…
Reference in New Issue