Chris Morley wrote: > > > > From: [EMAIL PROTECTED] > > To: [email protected] > > Date: Thu, 20 Nov 2008 23:26:42 +0000 > > Subject: Re: [Emc-developers] Controlling EMC from a non-GPL application > > > > On Thursday 20 November 2008, Leslie Newell wrote: > > > When the EMC2 project was started the EMC developers applied the GPL2 > > > license to most of the original code to prevent this happening in the > > > future. > > > > So in the process of protecting parts of EMC2 from being stolen for > closed > source use. We have closed the door for any closed source from > CONNECTING/COMMUNICATING (software wise) to EMC2 ? > Thats kinda Ironic! This seems impossibly restrictive, although I am not a lawyer. I can't imagine that the GPL prevents open-source and closed-source programs from being run on different CPUs and communicating with each other. It also seems that this shouldn't be a restriction even on the same computer. The problem mentioned in some previous discussions is if the closed-source program needs to use definitions in GPL header files to communicate with the GPL program. An obvious solution is to create a program, quite possibly a very simple one, to accept a file name, fetch a G-code file and make EMC2 aware that a new G-code file has just been loaded. The "outside" program would not need to know any internal stuff about EMC2 to do this.
In fact, you could probably set up a specific directory, and any file that was copied, FTP'd or whatever into that directory would be picked up and run by EMC2, then deleted or moved somewhere else when done. I really think the above is oversimplified, as workpiece limits may change from one job to the next, the tools have to be preset and in the right order, work offsets need to be set, etc. But, I suppose with a fixture a known offset from machine home, a standard tool for all work (I'm thinking of nameplate engraving or something like that) it might be quite easy to preset the machine with a tool, home it, touch off the Z axis and then make nameplates all day without touching the EMC GUI. Halui can do all of this except loading the program file by name, I think. Jon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
