- Enabled preselect
- Shows GCode command and movement direction when preselected
- Support single/multi-stepping using property 'StartIndex' and 'ShowCount'
One problem, though. I've slightly changed Path::Command to make the output command shorter if asked. But it caused Path test failure. Is it necessary for a gcode file to have a fixed number of decimals? Could Path test author have a look at it? The error looks like these.
Code: Select all
Traceback (most recent call last):
File "C:\projects\freecad\build\Mod\Path\PathTests\TestPathCore.py", line 99, in test10
self.assertEqual(p.toGCode(), 'G1 X1.000000 Y0.000000\nG1 X0.000000 Y2.000000\nG1 X1.000000 Y0.000000\n')
AssertionError: 'G1 X1.00000 Y0.00000\nG1 X0.00000 Y2.00000\nG1 X1.00000 Y0.00000\n' != 'G1 X1.000000 Y0.000000\nG1 X0.000000 Y2.000000\nG1 X1.000000 Y0.000000\n'