printrun-src/testfiles/layer-detect.gcode

changeset 45
c82943fb205f
equal deleted inserted replaced
44:310be640a303 45:c82943fb205f
1 ; Print this file to see the parsed layers
2 ; This file contains lines from https://github.com/kliment/Printrun/pull/1069#issuecomment-692127342
3 ; Interesting points:
4 ; Are layers snapped (merged,disappear) to near ones?
5 ; Are layers z coordinates modified?
6 ; Are layers without extrusion snapped to previous?
7 ; Handling of last layer - is extrusion respected?
8
9 G1 Z5 ; lift nozzle
10
11 G1 Z0.200 ; move to next layer (0)
12 G0 Y1
13 G1 X100 E1
14 G1 Z0.203 ; move to next layer (1)
15 G0 X1
16 G1 X100 E2
17 G1 Z0.300 ; move to next layer (2)
18 G0 X1
19 G1 X100 E3
20 G1 Z0.398 ; move to next layer (3)
21 G0 X1
22 G1 X100 E4
23 G1 Z0.458 ; move to next layer (4)
24 G0 X1
25 G1 X100 E5
26 G1 Z0.503 ; move to next layer (5)
27
28 ;@!print([l.z for l in self.fgcode.all_layers])

mercurial