Starts executing a G-code file immediately.
This function loads the specified G-code file and begins execution.
planetcnc.start_file(filename)
#! /usr/bin/env python import planetcnc # Start executing the G-code file "square.nc" immediately. if planetcnc.start_file("square.nc"): print("G-code file execution started successfully.") else: print("Failed to start G-code file execution.")