Here you can find the rhino background file and the grasshopper scripts that generates the gcode
https://drive.google.com/drive/folders/1kHvmWQ37YrKXVBybqvJY40BvLDXOqnK7?usp=sharing
If you want to testcheck your custom codes I would recommend to use the slicing software Cura.
Additionally, here you can find some kind of catalogue of rudimental and experimental 3d printing methods of clay.