3
1
Back

Exact middle of panel after deducting left/right sub-panels slider_center = (width_mm - left_panel_width - right_panel_width)/2 + left_panel_width; slider_bottom = v_margin+12; // draw panel, subtract holes panel(width); // waves out wall(h=4, w=width_mm-hole_dist_top-4); // one more vertical to mount a circuit board to module make_surface(filename, h) { } module make_surface(filename, h) { for (a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]) linear_extrude(height=a/h, convexity=10) projection(cut = true) surface(filename, center=true); } // XKCD (alt tags we don't need.

New Pull Request