chiark / gitweb /
poster-tube-lid: measurements
[reprap-play.git] / poster-tube-lid.scad
index 8356d46cf6a6748998824cf9f385c891c22c7ba2..bf6b430e3f4a350c5361f3725554bfd7fd60ddf5 100644 (file)
@@ -104,7 +104,7 @@ wmb_screw_head_dia = 8.7 + 0.5;
 wmb_screw_around_x = 4; // XXX
 wmb_screw_around_z = 6; // XXX
 wmb_screw_depth_min = 10;
-web_screw_len = 15 + 1; // XXX
+web_screw_len = 15 + 1;
 wmb_nut_across = 8; // XXX
 wmb_nut_around_min = 2; // XXX
 wmb_nut_behind_min = 5;
@@ -223,7 +223,10 @@ wmb_z_screw = max(
                  wmb_nut_around_min + wmb_nut_rad
                  );
 wmb_z_max = wmb_z_screw * 2;
-wmbb_y_max = wmb_y_mount_max + wmb_mount_gap_xy + wmb_mount_wall;
+wmbb_y_max = max(
+                wmb_y_mount_max + wmb_mount_gap_xy + wmb_mount_wall,
+                wmb_y_screw_end + web_screw_len
+                );
 wmbb_x_outer = wmb_x_outer + (wmb_mount_gap_xy + wmb_mount_wall);
 wmbb_z_flat_max = -wmb_bottom_gap;
 wmbb_z_flat_whole_min = wmbb_z_flat_max - wmb_bottom_th_min;