I'm working on a postprocessor for our SCM Record 110 (xilog based) maschine. This maschine does not read g-code, but it's own type of instruction which is inpired by g-code but more advanced.
One of it's features is a built in radius compensation. Meaning codes have a parameter R that controls the compensation (it can be set to right and center.)
This has the advantage that maschine-programmes adapt to changes of tool diameteres. After tool sharping we don't have to recreate or programmes but only change the diameter in the maschines config.
So it would be nice if our PostProcessor would produce maschine code that has not radius compensation but leave it to the maschine.
But inside FreeCAD we want radius compensation active to see correct results in the simulation and design process.
In order to do this I would need the path inside the post processor but without any compensation. Something like this:
I don't need a complete solution, but some hints would help me alot. Thanks!was_compensated = path.radius_compensation
path.radius_compensation = false
//do my things
path.radius_compensation = was_compensated