So I edited the tormach_lathe_ui.py file as describe and no change. It seems I can set whatever value I want as the scaling and nothing changes. I've been digging through the python file but cannot see where the actual scaling factor is used. Interestingly, it is picking up the unit setting from the ini file, I've proved this by putting a G20 in the startup code and pathpilot is automatically detecting the metric configuration and changing the mode to G21 as PP starts.

Just a Guess it is only the mashine Config
if you change the VIEW to mm and all Gcode files got G21
it will work as on all mashines bevor
there is also a startup code but on PP i woudent trust that
use G21 for every File

if you get a postprocessor of your choice get G21 to all Toolchanges even at block mode
so you are at the safe siode on RUN
it may look different on the manuell base
but it shoudt work as G21 is in nominal