mergin on up

This commit is contained in:
Bob - Home - Windows 2018-02-12 21:40:48 -05:00
commit dd6574137f
4 changed files with 1241 additions and 4 deletions

1233
customizer.scad Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,9 +5,6 @@
// 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
//TODO duplicate def to not make this a special var. maybe not worth it
unit = 19.05;
use <src/key.scad>
include <src/settings.scad>

View File

@ -120,7 +120,7 @@ module inside() {
// put something at the top of the key, with no adjustments for dishing
module top_placement(depth_difference) {
translate([$dish_skew_x, $top_skew + $dish_skew_y, $total_depth - depth_difference]){
rotate([-$top_tilt,0,0]){
rotate([-$top_tilt / top_total_key_height(),0,0]){
children();
}
}

View File

@ -1,5 +1,12 @@
// kind of a catch-all at this point for any directive that doesn't fit in the other files
//TODO duplicate def to not make this a special var. maybe not worth it
unit = 19.05;
module translate_u(x=0, y=0, z=0){
translate([x * unit, y*unit, z*unit]) children();
}
module brimmed() {
$has_brim = true;
children();