@@ -2108,18 +2108,18 @@ function skin_iso_enter_shape(size, delta, progress, thickness_difference) =
21082108// rounded square shape with additional sculpting functions to better approximate
21092109
21102110// When sculpting sides, how much in should the tops come
2111- $ side_sculpting_factor = 4.5 ;
2111+ side_sculpting_factor = 4.5 ;
21122112// When sculpting corners, how much extra radius should be added
2113- $ corner_sculpting_factor = 1 ;
2113+ corner_sculpting_factor = 1 ;
21142114// When doing more side sculpting corners, how much extra radius should be added
2115- $ more_side_sculpting_factor = 0.4 ;
2115+ more_side_sculpting_factor = 0.4 ;
21162116
21172117
21182118// side sculpting functions
21192119// bows the sides out on stuff like SA and DSA keycaps
2120- function side_sculpting(progress) = (1 - progress) * $ side_sculpting_factor;
2120+ function side_sculpting(progress) = (1 - progress) * side_sculpting_factor;
21212121// makes the rounded corners of the keycap grow larger as they move upwards
2122- function corner_sculpting(progress) = pow (progress, 2 ) * $ corner_sculpting_factor;
2122+ function corner_sculpting(progress) = pow (progress, 2 ) * corner_sculpting_factor;
21232123
21242124module sculpted_square_shape(size, delta, progress) {
21252125 width = size[0 ];
@@ -2144,7 +2144,7 @@ module sculpted_square_shape(size, delta, progress) {
21442144
21452145 offset(r = extra_corner_radius_this_slice, $ fa= 360 /$ shape_facets) {
21462146 offset(r = - extra_corner_radius_this_slice) {
2147- side_rounded_square(square_size, r = $ more_side_sculpting_factor * progress);
2147+ side_rounded_square(square_size, r = more_side_sculpting_factor * progress);
21482148 }
21492149 }
21502150}
@@ -2199,7 +2199,7 @@ function skin_sculpted_square_shape(size, delta, progress, thickness_difference)
21992199 width - extra_width_this_slice - thickness_difference,
22002200 height - extra_height_this_slice - thickness_difference
22012201 ]
2202- ) new_side_rounded_square(square_size, $ more_side_sculpting_factor * progress, extra_corner_radius_this_slice);
2202+ ) new_side_rounded_square(square_size, more_side_sculpting_factor * progress, extra_corner_radius_this_slice);
22032203
22042204
22052205module side_rounded_square(size, r) {
0 commit comments