I've been learning how to use emc's gcode subroutines and found it
useful to write a gui front-end for testing and using single-file
gcode subroutines -- ngcgui.tcl.

Features:
   1) Makes entry boxes for subroutine parameters
   2) Builds an ngc file for one or more features from (optionally)
      multiple subfiles
   3) Supports preamble and postamble files for common setup blocks
   4) Supports default values for subroutines
   5) Sends a prepared ngc file to the axis gui for execution
   6) Supports a one-level expansion of subroutines which allows the
      axis gui to highlight the lines _within_ a subroutine that
      correspond to the lines selected on the program preview
      display (with a left-click)

A testsuite of routines (mill-based) includes programs that demonstrate
recursion (modified flowsnake), text engraving (using true-type-tracer),
a helix (and dhole), slot, arbitrary quadrangle, hexagon, etc.  Routines
demonstrate inside/outside cutting with provisions for specifying cw or
ccw traversal.  Some include provisions for lead-in moves for cutter
radius compensation and some include parameters for scaling, rotating,
and offsetting their feature.

Screenshot:
   http://www.panix.com/~dgarrett/ngcgui/ngcgui.png

The gui is implemented with a single tcl script (no compiling required).
Instructions for downloading and using the script and subroutines:

   http://www.panix.com/~dgarrett/ngcgui/README

If you try it, please report comments/bugs to dgarrett at panix dot com

-- 
Dewey Garrett


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to