How to Convert .prt or .print to .gcode

I am using octoprint/octopi and would like to be able to print a .prt file.