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
                                          

Attachment: g10_l2_p0_patch
Description: Binary data

------------------------------------------------------------------------------
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

Reply via email to