Skip to content

Allow json arrays in settings for machine.*_sequence#127

Merged
sameer merged 1 commit into
sameer:mainfrom
AmadeusW:arraySequences
Jul 11, 2026
Merged

Allow json arrays in settings for machine.*_sequence#127
sameer merged 1 commit into
sameer:mainfrom
AmadeusW:arraySequences

Conversation

@AmadeusW

@AmadeusW AmadeusW commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Allow json array for _sequence properties.
This allows for legible multi-gcode sequences, for example

  "machine": {
    "begin_sequence": [
      "G28 O",
      "G0 X70 Y30 F4500",
      "M291 P\"Ready to plot\" T0 Z1",
    ],

Array is supported only on input. Internally, the values are concatenated with newlines. That's apparent when the setting is exported:

    "begin_sequence": "G28 O\nG0 X70 Y30 F4500\nM291 P\"Ready to plot\" T0 Z1"

@sameer sameer merged commit 93d5724 into sameer:main Jul 11, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants