chiark / gitweb /
brompton-computer-guard: move a parameter out of calculated
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 29 Sep 2022 20:10:01 +0000 (21:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 29 Sep 2022 20:10:01 +0000 (21:10 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
brompton-computer-guard.scad

index 35b0a182b6e9849e80609278345c2121e857b2ee..0067bbc0377461f00d5253b4ff32ae7eb7c82bf1 100644 (file)
@@ -12,6 +12,7 @@ hole_dia = 4 + 0.5;
 
 pbase_tab = 12;
 pbase_thick = 4;
+inner_pbase_thick = 8;
 
 // computed
 
@@ -21,7 +22,6 @@ echo(arch_alpha,arch_beta);
 arch_in_rad = arch_width/2 / sin(arch_beta);
 arch_to_chord = arch_in_rad * cos(arch_beta);
 
-inner_pbase_thick = 8;
 echo(inner_pbase_thick);
 
 inner_pbase_rad = arch_in_rad * 2;