mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-02-18 15:20:45 +00:00
cleanup
This commit is contained in:
parent
8fb65aca70
commit
cc336c0c41
3 changed files with 1 additions and 6 deletions
|
@ -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
|
// 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]];
|
function add_rounding(p, radius)=[for(i=[0:len(p)-1])[p[i].x,p[i].y, radius]];
|
||||||
// computes millimeter length from unit length
|
// computes millimeter length from unit length
|
||||||
function unit_length(length) = unit * (length - 1) + 18.16;
|
function unit_length(length) = $unit * (length - 1) + 18.16;
|
||||||
|
|
|
@ -81,9 +81,6 @@ module _dish(inverted=$inverted_dish) {
|
||||||
translate([$dish_offset_x,0,0]) color($secondary_color)
|
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);
|
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
|
// puts its children at each keystem position provided
|
||||||
module keystem_positions(positions) {
|
module keystem_positions(positions) {
|
||||||
|
|
|
@ -19,8 +19,6 @@ module ISO_enter_shape(size, delta, progress){
|
||||||
|
|
||||||
delta = delta / 2;
|
delta = delta / 2;
|
||||||
|
|
||||||
delta = delta / 2;
|
|
||||||
|
|
||||||
pointArray = [
|
pointArray = [
|
||||||
[ 0-delta.x, 0-delta.y], // top right
|
[ 0-delta.x, 0-delta.y], // top right
|
||||||
[ 0-delta.x, -height+delta.y], // bottom right
|
[ 0-delta.x, -height+delta.y], // bottom right
|
||||||
|
|
Loading…
Reference in a new issue