First, make gcode.tcl executable: chmod +x gcode.tcl then run it with the .gcl file as the argument, with the output redirected to an ngc file: ./gcode.tcl example.gcl > example.ngc now, you can load and run example.ngc in the emc2 GUI of your choice.
If you are using emc 2.1-pre or later with AXIS as the GUI, you can use the PROGRAM_FILTER feature described in the manual. Copy or move gcode.tcl to a location that is on your PATH (for example, sudo cp gcode.tcl /usr/local/bin ), and then add lines like this to your ini file: [FILTER] PROGRAM_EXTENSION = .gcl TCL/gcode script gcl = gcode.tcl Jeff ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users