ComfyUI Node
G-code Conditional Injector
A ComfyUI node in MKRShift Nodes/G-code/Modify with 3 inputs and 3 outputs.
G-code Conditional Injector
- plan
- gcode_text
- applied_json
- summary
◄gcode_text►
◄rules_json[{"label":"announce-start","when":"start","inject":"M117 START {mode}"},{"label":"fan-boost","when":"layer_change","layer_min":2,"every_layers":2,"inject":"M106 S255"},{"label":"announce-end","when":"end","inject":"M118 DONE {mode}"}]►
CategoryMKRShift Nodes/G-code/Modify
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| plan | MKR_GCODE_PLAN | — | |
| gcode_text | STRING | — | |
| rules_json | STRING | [{"label":"announce-start","when":"start","inject":"M117 START {mode}"},{"label":"fan-boost","when":"layer_change","layer_min":2,"every_layers":2,"inject":"M106 S255"},{"label":"announce-end","when":"end","inject":"M118 DONE {mode}"}] | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| gcode_text | STRING | — |
| applied_json | STRING | — |
| summary | STRING | — |