summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--case/top.scad18
1 files changed, 9 insertions, 9 deletions
diff --git a/case/top.scad b/case/top.scad
index b8b0f78..e9a2098 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -77,19 +77,19 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
}
}
- module screw_post(h) {
- diameter_inner = 3.00;
- diameter_outer = 6.25;
+ module screw_posts() {
+ module screw_post(h) {
+ diameter_inner = 3.00;
+ diameter_outer = 6.25;
- difference() {
- cylinder(h, d=diameter_outer);
+ difference() {
+ cylinder(h, d=diameter_outer);
- translate([0, 0, -eps])
- cylinder(h + 2*eps, d=diameter_inner);
+ translate([0, 0, -eps])
+ cylinder(h + 2*eps, d=diameter_inner);
+ }
}
- }
- module screw_posts() {
posts = [
/* Upper row */
[screw_post_x_offset, screw_post_upper_y_offset, screw_post_corner_height],