11
Mach SDK plugin questions and answers. / Re: Laser Engraving Plugin Source Code
« on: July 30, 2009, 10:37:02 AM »
I think I understand the way the code works.
It appears that it determines the image resolution, figures out the steps per pixel and related info, sets up a zig zag pattern, moving up the Y stepover at each end. Based on grayscale info, it determines what to do with the beam and feeds some timing info into MachView->Info.Time[].
It would help to understand Mach a little more at this point. How does Mach use this information? It appears that Mach can use this as it it is running a line of G-Code to control an output on a per step basis. Is this documented somewhere? Is the output pin selectable?
Any help would be appreciated.
Thanks
It appears that it determines the image resolution, figures out the steps per pixel and related info, sets up a zig zag pattern, moving up the Y stepover at each end. Based on grayscale info, it determines what to do with the beam and feeds some timing info into MachView->Info.Time[].
It would help to understand Mach a little more at this point. How does Mach use this information? It appears that Mach can use this as it it is running a line of G-Code to control an output on a per step basis. Is this documented somewhere? Is the output pin selectable?
Any help would be appreciated.
Thanks