chiark / gitweb /
poster-tube-lid: abolish top_thick (which is now not really meaningful)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Oct 2017 01:44:32 +0000 (02:44 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Oct 2017 01:44:32 +0000 (02:44 +0100)
poster-tube-lid.scad

index 4c8f4fc7bdb4b2c625e44343d56cc72f13a9099e..deb51e5d444ccabe8753dfe631bc754be4724789 100644 (file)
@@ -63,10 +63,7 @@ seal_thick = oring_y_rad * (1 + cos(oring_upper_embed_angle));
 side_height = rivet_posn + bayo_behind + rivet_thick/2;
 side_thick = rivet_tall + over_rivet_wall;
 
 side_height = rivet_posn + bayo_behind + rivet_thick/2;
 side_thick = rivet_tall + over_rivet_wall;
 
-top_thick = max(top_thick_middle,
-               top_thick_by_oring + oring_y_rad);
-
-top_z = top_thick + seal_thick;
+top_z = top_thick_by_oring + oring_y_rad + seal_thick;
 
 middle_bot_z = top_z - top_thick_middle;
 
 
 middle_bot_z = top_z - top_thick_middle;