vnks » 27 июл 2015, 16:26
I've been having a hard time getting gcodetools to generate an efficient rectangular pocket operation. I create a rectangle, convert it to a path, then do a zigzag fill area. Select the zigzag, ungroup, break apart, combine, simplify, then run path to gcode. The resulting gcode does this for each segment:
---
(Start cutting path id: path3605)
(Change tool to Default tool)
G00 Z5.000000
G00 X-5.644444 Y29.431750
G01 Z-1.000000 F100.0(Penetrate)
G01 X4.355556 Y29.431750 Z-1.000000 F400.000000
G00 Z5.000000
(End cutting path id: path3605)
(Start cutting path id: path3605)
(Change tool to Default tool)
G00 Z5.000000
G00 X4.355556 Y29.431750
G01 Z-1.000000 F100.0(Penetrate)
G01 X4.355556 Y65.717462 Z-1.000000 F400.000000
G00 Z5.000000
(End cutting path id: path3605)
---
Note the unnecessary Z movements, this is at each corner of the path. Without break apart/combine/simplify steps, it's even worse, it does multiple back-and-forth Z-axis movements on each corner.
When I edit the generated zigzag path, each corner shows "3 nodes" when I select it. If I join those into one, the Z-axis back-and-forth goes away, and the generated gcode follows an efficient horizontal path.
Is this behavior by design? Am I doing something wrong? Other methods of filling the area have similar problems.