chiark / gitweb /
floating-phases: Move tower in x direction to be within frame
[reprap-play.git] / floating-phases.scad
index 92e6b4ffc254de4e65d09a0992dcdadfea4af3c6..04261be51d83d54589094b803db3bcbd93031b0f 100644 (file)
@@ -12,7 +12,7 @@
 //        "yellow",
 //        ];
 //
-// Pause height                2.0
+// Pause height                z_pause value from caller
 // head park X         15
 // head park Y         260
 // head move Z         1
@@ -77,7 +77,7 @@ module FloatingPhaseFraming(phase, zmin) {
 
   tower_pos =
     -0.5 * frame_inner
-    + noz_gap * [1,0] * (phases-1 - phase)
+    + noz_gap * [1,0] * (phases - phase)
     + -[1,1] * tower_w;
 
   // frame for alignment
@@ -99,3 +99,5 @@ module FloatingPhaseFraming(phase, zmin) {
       translate(tower_pos)
       square([1,1] * tower_w);
 }
+
+echo(str("SET PAUSE AT Z HEIGHT TO ",z_pause));