Jeff Epler пишет:
> this increases timings a little bit (including in the unrotated case), but
> correct is much better than fast in this case
> ---
> src/emc/rs274ngc/gcodemodule.cc | 47 ++++++++++++++++++++++----------------
> 1 files changed, 27 insertions(+), 20 deletions(-)
>
> diff --git a/src/emc/rs274ngc/gcodemodule.cc b/src/emc/rs274ngc/gcodemodule.cc
> index 051bbe1..7a4a7d7 100644
> --- a/src/emc/rs274ngc/gcodemodule.cc
> }
> + for(int ax=0; ax<9; ax++) n[ax] += offset[ax];
> + rotate(n[0], n[1], rotation_cos, rotation_sin);
>
this one is reversed -- first rotate, than offset.
> PyList_SET_ITEM(segs, steps,
> Py_BuildValue("ddddddddd", n[0], n[1], n[2], n[3], n[4], n[5], n[6],
> n[7], n[8]));
> return segs;
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers