From: Ian Jackson Date: Mon, 9 Oct 2017 01:00:28 +0000 (+0100) Subject: poster-tube-lid: convert to oring: provide oring_[xy]_rad X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=12ff79d2e9cc2dc14b0e9336daad6144e4b75486;p=reprap-play.git poster-tube-lid: convert to oring: provide oring_[xy]_rad --- diff --git a/poster-tube-lid.scad b/poster-tube-lid.scad index 830370e..33d008f 100644 --- a/poster-tube-lid.scad +++ b/poster-tube-lid.scad @@ -50,8 +50,10 @@ bayo_inramp_z = bayo_entry; oring_mid_dia = oring_bore + oring_thick; oring_outer_dia = oring_mid_dia + oring_thick; -seal_thick = (1 - oring_compress) * oring_thick/2 - * (1 + cos(oring_upper_embed_angle)); +oring_y_rad = oring_thick/2 * (1 - oring_compress); +oring_x_rad = oring_thick/2 / (1 - oring_compress); + +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;