chiark / gitweb /
floating-phases: Move tower in x direction to be within frame
[reprap-play.git] / floating-phases.scad
index f6e1568b02233f1d5b7531174552995c689ccc23..04261be51d83d54589094b803db3bcbd93031b0f 100644 (file)
@@ -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));