[Emc-developers] improvement for rs274

2020-06-06 Thread Reinhard
Hi, I tested rs274 in batch mode and performance is absolutely poor, when using it as a filter, which is default for unix programs. I found out, that readline - the slowest known unix program - causes that lag. When using rs274 as filter, you don't need any of the features of readline, so I did

Re: [Emc-developers] strange result from interpreter (rs274)

2020-06-06 Thread Reinhard
Hi, I possibly found the error. In file saicanon.cc the constructor of StandaloneInterpInternals creates the dummy outside with mm units and sets member _length_unit_factor to 1 ... but GET_EXTERNAL_LENGTH_UNITS() returns a constant, which is wrong for any combination of length units. I guess

[Emc-developers] strange result from interpreter (rs274)

2020-06-06 Thread Reinhard
Hi, it took a while to setup a working environment, but meanwhile I'm on the way and could debug rs274. If you recall - I got strange numbers for initial offset and on tool-length compensation. I found the source, but can't explain, why it happens in standalone mode only. The error happens at