https://www.printables.com/@combobulator published a model... https://www.printables.com/model/783598-diy-print-bed-filament-dryer-with-prusa-mk4-drying which includes gcode which was good to start but not perfect for my Prusa Printer MK3.9
because loops in gcode are not possible i wrote this generator to create a gcode file for my needs
parameterize generator.rb then execute it
Creative Commons (4.0 Internationale Lizenz) Attribution — Noncommercial — Share Alike