Sebastian, >> If you treat the knife rotation as a proper axis (controlled by the emc2 motion planner), then you'd program the angle along with the rest of your G-code. <<
I considered that, and maybe I am missing something, but I see how to do that for G1 commands, G0 doesn't matter, but I don't see how to do it for G2 / G3 commands. >> It might be simpler to use the X and Y velocity estimate and some HAL glue to compute the current motion angle, and output that to the motor controlling the knife angle, without involving the higher layers. << >> If you have encoders on X and Y, i think the velocity estimate is what you're after here. << Good point, I should have thought of that. >> The first choice you have to make is if the knife angle is in the G-code (as you desribe here) or computed dynamically while the program runs (as you've described elsewhere). << Yes, that part becomes trivial if done in code. Regards, Eric ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers