Marlin uses standard reprap G-code to run will all Gcode commands found here. I decided to organise my gcode by designing a grasshopper code. This would allow direct flow for designers to parametrically design and fabricate. Once the gcode is ready this is uploaded via Pronterface which also works as a manual interface.
Below is the formwork generated from the design in grasshopper; which is 3d printed using a dfferent machine. The same defenition is used to create gcode for the hydrobot to extrude material in those chambers.
This is the scenario:- grasshopper creating the design and gcode; 3d printer to design formwork; hydrobot to infill prints with other material