Simplify3D send gcode directly to Duet 2 Maestro?
-
@arhi said in Simplify3D send gcode directly to Duet 2 Maestro?:
@dlc60 said in Simplify3D send gcode directly to Duet 2 Maestro?:
Wait, scripting in the RRF? I didn't see that.
check out for e.g. https://duet3d.dozuki.com/Wiki/Macros#Section_Tool_change
There are normally three specified tool change macros (any of which can contain no commands if desired) that execute in this order:
- Actions to do with the old tool before it is released - macro name: tfreeN.g where N is the tool number;
- Actions to do with the new tool before it is selected - macro name: tpreN.g where N is the tool number;
- Actions to do with the new tool after it is selected - macro name: tpostN.g where N is the tool number.
So you can have a macro to execute before tool is release, before is selected and after it is selected, same thing for every tool, called automatically, you just make files tfree0.g tfree1.g tfree2.g tpre0.g tpre1.g ... put stuff in ... and enjoy .. so when S3D sends T1 the RRF will execute tfreeX (where X is whatever was before T1) etc etc..
and in this macro files you can use dynamic g-code with loops and conditionals and...
https://duet3d.dozuki.com/Wiki/GCode_Meta_CommandsThat is really useful. I can put the g-code scripts that I use for dual filament prints into these macros and not need to bother with what slicer I am using. Awesome! The scripts that I wrote for S3D and dual filament deliver the goods. CURA scripting is terrible and the outcome seems totally random. I have to try now.
Thanks,
DLC