On Sun, Nov 09, 2008 at 05:23:19PM +0000, Leslie Newell wrote: > > I have been looking into it. As far as I can see, to get a basic > diameter mode working the interpreter needs to halve the X and I values > in the two relevant read functions.
The manual I have (but can't find) for a (mumble mumble) Fanuc lathe control says I,K are still radius even when X is diameter. I don't know how universal this is. But it makes sense to me - when you talk about the radius of a feature on a lathe part (like a fillet) you don't double or halve it. You only do that for diameters. > R mode arcs can be really confusing > (Mach falls over badly on R arcs in diameter mode) but probably the best > approach would be to treat R the same as with radius mode. You would not want to change R either for the same reason. Only X. > The GUI needs > to double all X values on it's position displays but not on the > backplot. Making tool tables handle diameter would be nice but not > essential (for example Mach always uses radius for tool tables). I don't think it would matter what is actually in the tool table, but G10 L1 P.. X.. should probably take a diameter in diameter mode. > I have some previous experience with the RS264NGC code so I might have a > play. I haven't any experience with tcl/tk so the GUI side may be more > of an issue. Is Axis the only GUI that handles lathes correctly? AXIS is the only GUI that displays radius and diameter. It seems like the GUI issues are very minor compared to the interpreter. If you cannot do all of it, just do what you can and then ask for help. All the developers do that sometimes. Chris ------------------------------------------------------------------------- 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users