Dacicusan wrote: ↑Tue Feb 08, 2022 11:12 am
Right now Qcad/CAM it is writing the compensation only when it is changing the side of the machining.
Correct: G40, G41 and G42 are modal.
Meaning that in
standard G-code they stay active as long as they aren't changed.
BTW: I am convinced that your machine can load normal G-code files.
Also remark that all 3 have an XY component.
Some dialecs may also require an explicit G1.
The compensation of G41/2 will be nothing initially.
The cutter will only be fully compensated at the end of the compensation move.
Or fully cancelled with G40.
A
linearMoveCompensationLeft is simply what its says:
- A linear move to a point in X/Y
- Apply a left compensation so the motion actually ends 'left' from X/Y
I am only guessing that "C=0..2" means none, right or left compensation mode.
But I don't see a compensation move.
linearMoveCompensationLeft doesn't mean
'I am in this or that compensation mode'.
I suppose
this.getSide(); returns the cutter radius compensation side of the current toolpath.
What is written as toolpath header is defined in:
this.toolpathHeader = [...];
The real solution may be overriding writing the toolpath header.
MyPost.prototype.writeToolpathHeader = function() {...};
Regards,
CVH