소스 검색

Always zigzag

Use the shortest way between probing-points.
AnHardt 10 년 전
부모
커밋
4ca8f4a9a7
1개의 변경된 파일1개의 추가작업 그리고 7개의 파일을 삭제
  1. 1
    7
      Marlin/Marlin_main.cpp

+ 1
- 7
Marlin/Marlin_main.cpp 파일 보기

2582
           xInc = -1;
2582
           xInc = -1;
2583
         }
2583
         }
2584
 
2584
 
2585
-        #if DISABLED(DELTA)
2586
-          // If do_topography_map is set then don't zig-zag. Just scan in one direction.
2587
-          // This gets the probe points in more readable order.
2588
-          if (!do_topography_map) zig = !zig;
2589
-        #else
2590
-          zig = !zig;
2591
-        #endif
2585
+        zig = !zig;
2592
 
2586
 
2593
         for (int xCount = xStart; xCount != xStop; xCount += xInc) {
2587
         for (int xCount = xStart; xCount != xStop; xCount += xInc) {
2594
           double xProbe = left_probe_bed_position + xGridSpacing * xCount;
2588
           double xProbe = left_probe_bed_position + xGridSpacing * xCount;

Loading…
취소
저장