Following on from #199, I found another oddity - I specify firstLayerBeltLead = 2 and firstLayerBeltBump = 2 in the process JSON file (AIUI these correspond to the Part Anchor and Anchor Bump settings on the right Base menu), but no anchor exists in the output gcode, despite the correct values being listed in the dump of process variables in the header comment of the file.
AIUI this is because process.beltAnchor is determined conditionally in main.js (here). Adding beltAnchor: true to my JSON file is a quick workaround, but it's a bit strange that this must exist in the CLI when the web version just infers it from the other settings.
Just duplicating this particular conditional into cli.js feels unsustainable - there's plenty of other places in main.js where the process config is modified (e.g. here). I don't have enough history on the other parts to be comfortable contributing a fix.
Following on from #199, I found another oddity - I specify
firstLayerBeltLead = 2
andfirstLayerBeltBump = 2
in the process JSON file (AIUI these correspond to the Part Anchor and Anchor Bump settings on the right Base menu), but no anchor exists in the output gcode, despite the correct values being listed in the dump of process variables in the header comment of the file.AIUI this is because
process.beltAnchor
is determined conditionally inmain.js
(here). AddingbeltAnchor: true
to my JSON file is a quick workaround, but it's a bit strange that this must exist in the CLI when the web version just infers it from the other settings.Just duplicating this particular conditional into cli.js feels unsustainable - there's plenty of other places in
main.js
where the process config is modified (e.g. here). I don't have enough history on the other parts to be comfortable contributing a fix.