Paul, because you added a question we can't filter on 'Unanswered'.
And it doesn't show up in new posts when already glanced at = read.
But I did recall that there was an additional question somewhere ...
prensel wrote: ↑Sun Mar 24, 2024 8:49 am
Are these the ones to use (as declared in GCodeBase.js) ?
Not really but yes, that is part of that.
One can mill 'On Shape' ... The cutter trajectory is the shape itself.
Or one can mill at the left or at the right of the shape ... The cutter trajectory is then an offset.
The offset can be QCAD generated (
this.outputOffsetPath = true;)
Or it can be handled by the controller itself by G41/42 and then the above should be
false.
Of course the side of offsets or when G41 or G42 is used also depends on the milling direction.
Milling 'On Shape' would be in mode G40 and without QCAD generated offsets.
That won't be reflected in the exported Cam entities and the text blocks that are being written.
As far as I can detect ...
Side is stored in
CamSide
Direction is stored in
CamDirection
One can query if the current toolpath has an offset path:
this.hasOffsetPath();
That is true when
this.getSide() does not equal to
Cam.Side.None
Regards,
CVH