mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-26 06:45:28 +00:00
mergin on up
This commit is contained in:
commit
dd6574137f
1233
customizer.scad
Normal file
1233
customizer.scad
Normal file
File diff suppressed because it is too large
Load Diff
@ -5,9 +5,6 @@
|
|||||||
// without having to rely on this file. Unfortunately that means setting tons of
|
// 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
|
// 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>
|
use <src/key.scad>
|
||||||
|
|
||||||
include <src/settings.scad>
|
include <src/settings.scad>
|
||||||
|
@ -120,7 +120,7 @@ module inside() {
|
|||||||
// put something at the top of the key, with no adjustments for dishing
|
// put something at the top of the key, with no adjustments for dishing
|
||||||
module top_placement(depth_difference) {
|
module top_placement(depth_difference) {
|
||||||
translate([$dish_skew_x, $top_skew + $dish_skew_y, $total_depth - 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();
|
children();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
// kind of a catch-all at this point for any directive that doesn't fit in the other files
|
// 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() {
|
module brimmed() {
|
||||||
$has_brim = true;
|
$has_brim = true;
|
||||||
children();
|
children();
|
||||||
|
Loading…
Reference in New Issue
Block a user