Just noticed a variation of this bug/feature/strange behaviour
Created a setup,
selected a machine config from cloud
Posted (with the annoyance of having to select post in that dialog..)
NC-Code comes out as expected
Then I created a NC program.
The post is autoselected to the same as above
Selected the operations (or rather the whole setup)
Posted and realize that the NC-code is NOT what I wanted.
It seems that NC-program doesnt find the machine-config
When selecting my backup-post from a folder on my computer it magicly managed to find and fill in the path to the machineconfig thats stored localy (not fusion local folder)
One difference in code:
Wrong:
19 CYCL DEF 19.0 WORKING PLANE
20 CYCL DEF 19.1 A+0 B+0 C+0
Correct:
19 CYCL DEF 19.0 WORKING PLANE
20 CYCL DEF 19.1 B+0 C+0
From my post
if (properties.machineDefinition) {
machineConfiguration = MachineConfiguration.createFromPath(findFile(properties.machineDefinition));
log("");
log("Machine configuration:");
log(getMachineConfigurationAsText(machineConfiguration));
setMachineConfiguration(machineConfiguration);
optimizeMachineAngles2(0); // using M128 mode
} else if (false) {
// NOTE: setup your machine here
//var aAxis = createAxis({coordinate:0, table:true, axis:[1, 0, 0], range:[-120.0001, 120.0001], preference: properties.preferTilt});
var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-120.0001, 45.0001], preference:properties.preferTilt});
var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[0, 360], cyclic:true});
//machineConfiguration = new MachineConfiguration(aAxis, cAxis);
machineConfiguration = new MachineConfiguration(bAxis, cAxis);
setMachineConfiguration(machineConfiguration);
optimizeMachineAngles2(0); // using M128 mode
}
It also ignores the settings for home-position