Skip to content

Commit 688b916

Browse files
committed
Include layer_id in line_end and line_start
1 parent 08738e4 commit 688b916

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vpype_gcode/gwrite.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def gwrite(document: vp.Document, output: typing.TextIO, profile: str):
9999
index1=lines_index + 1,
100100
layer_index=layer_index,
101101
layer_index1=layer_index + 1,
102+
layer_id=layer_id,
102103
)
103104
)
104105
segment_last_index = len(line) - 1
@@ -144,6 +145,7 @@ def gwrite(document: vp.Document, output: typing.TextIO, profile: str):
144145
index1=lines_index + 1,
145146
layer_index=layer_index,
146147
layer_index1=layer_index + 1,
148+
layer_id=layer_id,
147149
)
148150
)
149151
if line_join is not None and lines_index != lastlines_index:

0 commit comments

Comments
 (0)