In vpype, layer IDs as used to refer to layers and maybe arbitrary non-zero, positive integers. In particular, they do not need to be consecutive and the read command attempts to honour them according to a well defined heuristic. Since they can be set to an arbitrary value by the user, they can potentially be useful in vpype-gcode's output. This PR adds the formatting keyword layer_id to the layer_start and layer_end elements.
In vpype, layer IDs as used to refer to layers and maybe arbitrary non-zero, positive integers. In particular, they do not need to be consecutive and the
read
command attempts to honour them according to a well defined heuristic. Since they can be set to an arbitrary value by the user, they can potentially be useful in vpype-gcode's output. This PR adds the formatting keywordlayer_id
to thelayer_start
andlayer_end
elements.Other minor fixes: