diff --git a/src/functions.scad b/src/functions.scad index 986ba52..e0de3e3 100644 --- a/src/functions.scad +++ b/src/functions.scad @@ -69,4 +69,4 @@ function surface_function(x,y) = (sin(acos(x/$3d_surface_size))) * sin(acos(y/$3 // adds uniform rounding radius for round-anything polyRound function add_rounding(p, radius)=[for(i=[0:len(p)-1])[p[i].x,p[i].y, radius]]; // computes millimeter length from unit length -function unit_length(length) = unit * (length - 1) + 18.16; +function unit_length(length) = $unit * (length - 1) + 18.16; diff --git a/src/key.scad b/src/key.scad index ce16e07..3d3cf96 100644 --- a/src/key.scad +++ b/src/key.scad @@ -81,9 +81,6 @@ module _dish(inverted=$inverted_dish) { translate([$dish_offset_x,0,0]) color($secondary_color) dish(top_total_key_width() + $dish_overdraw_width, top_total_key_height() + $dish_overdraw_height, $dish_depth, inverted); } -// just to DRY up the code -module _dish() { -} // puts its children at each keystem position provided module keystem_positions(positions) { diff --git a/src/shapes/ISO_enter.scad b/src/shapes/ISO_enter.scad index aded37a..ebcb137 100644 --- a/src/shapes/ISO_enter.scad +++ b/src/shapes/ISO_enter.scad @@ -19,8 +19,6 @@ module ISO_enter_shape(size, delta, progress){ delta = delta / 2; - delta = delta / 2; - pointArray = [ [ 0-delta.x, 0-delta.y], // top right [ 0-delta.x, -height+delta.y], // bottom right