Several years ago, Jeff Epler shared a O word routine for generating multiples of a single part. The link is here.
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Oword#Sample_5_Subroutine_for_generating_multiple_parts_using_Local_and_Global_coordinates I routinely use this to make Xmas ornaments each year. Adding the gcode to the program is fairly straightforward, but some of the cuts I have been making contain 100-200 lines of code. Rather than cutting and pasting, I was hoping to call a file using the directions found here: http://linuxcnc.org/docs/2.3/html/gcode_main.html#r3_7 I have a couple of questions. 1. Can I call a file of gcode inside the oword subroutines? 2. If yes, what is the proper syntax. I have tried several variations but I get a blank screen. o<file_partcode> sub o<file_partcode> endsub Any help or suggestions appreciated. Brian ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users