chiark / gitweb /
fairphone-case: AdhocMultiprintFrame: get between-phase interval right
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Jan 2018 22:23:39 +0000 (22:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Jan 2018 22:23:39 +0000 (22:23 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
fairphone-case.scad

index 27d3c98..f03119b 100644 (file)
@@ -349,7 +349,7 @@ $prp_r10 = prl_r10;
 
 module AdhocMultiprintFrame(phase, z0, zs) {
   // from z0 to z0 + zs*layer
-  extra = phase * 0.65 + 5;
+  extra = phase * (initial_layer_width + multicolour_gap) + 5;
   xextra = extra + -epp4[0];
   xrange = [ 0, phone_width ] + [-1,+1] * xextra;
   yextra = extra + -epp4[0];