In one of the other sample configurations (sim/axis), the [FILTER]
section looks like this:
    [FILTER]
    PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
    PROGRAM_EXTENSION = .py Python Script

    png = image-to-gcode
    gif = image-to-gcode
    jpg = image-to-gcode             
    py = python

When you select a .png, .gif, or .jpg file it's sent to "image-to-gcode"
    http://linuxcnc.org/docs/2.1/html/gui/image-to-gcode/index.html
and the gcode produced by image-to-gcode is then loaded into emc.

When you load a .py file it is executed, and the lines it prints are
treated as gcode.

Jeff

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to