Hi all,

For cutting-simulation I am looking at using rs274 for parsing G-code
into canon-lines, and further to OpenGL or other simple primitives
(line-segments, and eventually sampled points along those line
segments)

line 924 of src/emc/rs274ngc/gcodemodule.cc   reads:
double d[9] = {0, 0, 0, n[4]-o[4], n[5]-o[5], n[6]-o[6], n[7]-o[7], n[8]-o[8]};

note that the array should have 9 elements, but only 8 are initialized.

Is there any reason why it should not read:
//                               delta-a      delta-b   delta-c
delta-u    delta-v      delta-w
double d[9] = {0, 0, 0, n[3]-o[3], n[4]-o[4], n[5]-o[5], n[6]-o[6],
n[7]-o[7], n[8]-o[8]};


thanks,
Anders

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to