hey guys, I have been looking at the other hal_manualtoolchange and this seems to work fine with absolute position mode, in relative mode it get's lost.
However, what I want to do is as soon as the window pop-ups up I want to store the machine coordinates in a variable/file. The change I want to make is this: As soon as a use presses ok, I don't want it go linear line to the stopped point, but I want to put a option to align in order. For example first X and Y, then Z. This way I will have less chance to crash the tool in the part. I think this will work good for lathe's and XYZ type routers. I am a complete python n00b and each time I do python code (about once every 2 months) I need to re-learn the 'weird' language :) However, I want to modify an extend hal_manualtoolchange with one of the following options. 1) Just specify a order in the ini file, for example: [TRAJ] HAL_MANUALTOOLCHANGE_ORDER=X Y Z This means first align X, then Y then Z XY Z could mean, align X and Y at the same time, then Z. 2) MDI Command. This will allow you to specify some commands before the machine starts milling like O routines, i am not sure how to pass the saved machine coordinates then, but possible this can be done in a register? THis could conflict with other registers... 3) Other ideas? ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
