plottertools / vpype-gcode

gcode extension for vpype
MIT License
35 stars 7 forks source link

Requires a blockjoin and layerjoin elements. #6

Closed tatarize closed 3 years ago

tatarize commented 3 years ago

blockjoin would occur between all individual items within a block, but not before the start or after the end.

layerjoin would occur between all individual blocks within a layer, but not before the start or after the end.


The one sticking point with json output making invalid json was a trailing comma. after the blocks. This would allow that generic element to be covered. This is how ",".join() works in python, hence the analogy. The code here could then produce absolutely valid json.

tatarize commented 3 years ago

Added in 0.5.0