Chris, I just stumbled over the same issue doing the config/gladevcp/probe example - one needs to retrieve and pass the current coordinate system even if it's meant to be 'whatever system you're in'.
I think this is useful. -m Am 17.12.2010 um 09:22 schrieb Chris Morley: > I was helping someone on the zone with a touchoff plate > using Classicladder as per example on wiki. > It uses halui mdi commands to call G92 to set the touchoff point. > It seemed to me that using G10 L20 would work better (safer) > the only problem is G10 L2 require that the current > coordinate system (P) be entered. So if the user picks another > coordinate system and use the touch off it wont work properly. > So I patched master to allow P0 to represent whatever > system is currently in use at the time it is invoked. > > So for another example one could move to a location > in any coordinate system issue the MDI command: > G10 L20 P0 X2 Y3 Z0 > > and then the current location in the current coord. system > would be X2 Y3 Z0 > > Please find the patch attached. > Comments? > If there is no objection to this change or to the way its coded > I would like to add it to master. > > Chris M > <g10_l2_p0_patch>------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d_______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
