LinuxCNC Processor / Cancel Tool Length Compensation (G49 in init g-code)

I’m using the latest freecad git version 0.20
OS: macOS 10.15
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.20.24441 (Git)
Build type: Release
Branch: master
Hash: 4561deb4faca8df963d9c78110d7cc123ba834e1
Python version: 3.9.0
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/Germany (en_DE)

(Exported by FreeCAD)
(Post Processor: linuxcnc_post)
(Output Time:2021-03-18 15:04:15.459780)
(begin preamble)
G17 G54 G40 G49 G80 G90
G21

G49 “Cancel Tool Length Compensation” should be made optional and not hardcoded, also the new G43 H* command will wipe out the values from the dynamic tool compensation… this is evil and it just signed my milling table with a hole in it (it’s a cheap small one so it’s no big deal at least)

Sliptonic gave me a hint, this can be fixed with some post processor flags.

–preamble ‘G17 G54 G40 G80 G90’ --no-tlo
outputflags.png

This seems to work with the post processor flags. Thanks.