Nodes/MKRShift_Nodes/G-code Conditional Injector
ComfyUI Node

G-code Conditional Injector

A ComfyUI node in MKRShift Nodes/G-code/Modify with 3 inputs and 3 outputs.

By criskb·Created 6 months ago·Updated 4 months ago· 0
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)

NameTypeDefaultDescription
planMKR_GCODE_PLAN
gcode_textSTRING
rules_jsonSTRING[{"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)

NameTypeDescription
gcode_textSTRING
applied_jsonSTRING
summarySTRING