Yeah I don't expect any immediate solution, but this is a significant problem which doesn't need to be. If you've done an X-offset by +2", then the limits check and live preview just needs to offset by +2". They don't need to recalculate every line of g-code.
Unless, of course, you use a G10 P0 R1, which rotates the coordinate system. For that, you'd have to recalc all the g-code because that geometry is specific to the file. I figured the preview/limits would exist in machine coordinates. If we're calculating to make sure the g-code doesn't exceed machine travel, then work coordinates don't make sense. In that case the work offset gets applied for preview & work size display and there's no reason to recalc the machine coordinates. Now if you rehomed the machine coords, I can see why you might just recalc the g-code instead of writing special-case code to "fix" the prior calc of g-code. For the most part people would have the machine coords homed before loading a g-code design, and only alter work offsets after that, so that's a pretty special case to accommodate a change in machine coords on the fly. Danny ---- andy pugh <[email protected]> wrote: > On 27 June 2016 at 09:16, Danny Miller <[email protected]> wrote: > When I go to zero the work coordinates, EACH axis results in > recalculating the entire file, which can take minutes. The delay is actually probably the toolpath preview (and limits check) updating. The motion system doesn't need to read the whole file before starting. Unfortunately the system still needs to do a point-by-point limits check with the new starting position. You can turn off the preview and limits check, but that's not much of a solution. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
