Path: add output precision option to linuxcnc post.
Modified unit tests to use it.
This commit is contained in:
@@ -109,6 +109,7 @@ G1X-0.5905Y-0.3937
|
||||
G0Z0.5
|
||||
'''
|
||||
|
||||
|
||||
output = '''G0 S3000.000000 X-0.590500 Y-0.393700
|
||||
M03
|
||||
G0 Z0.125000
|
||||
@@ -119,6 +120,8 @@ G1 X-0.590500 Y0.433000
|
||||
G1 X-0.590500 Y-0.393700
|
||||
G0 Z0.500000
|
||||
'''
|
||||
|
||||
|
||||
#create a path directly form a piece of gcode.
|
||||
p = Path.Path()
|
||||
p.setFromGCode(lines)
|
||||
|
||||
Reference in New Issue
Block a user