JoeJ wrote:I think there's some new items added, but many of them are for use in specific scripts.
What script were you needing to use the arithmetic stuff in?
And for the layer-specific stuff, I do search and replaces all the time to add commands to a specific layer since you know there will always be a "; layer XX" comment at the start of that layer.
Specifically, i'm interested in altering extruder flowrates during the print. My %@#$@# printer doesn't support E params, so flowrates must be controlled my an M108. This is manually set by the profile in the start script (or tool-change script), but it is fixed, so speeds must also be fixed. Small features also end up being over-extruded.
Using math in placeholders will allow simplify to calculate flowrate based on speed (assuming speed is a placeholder!)
Layer based control will allow layer based speed mods, and the associated adjustment to flowrate.
Other handy tasks using arithmetic placeholders would be to automatically set the correct extruder without post-processing. Firmware sets the index at 0 for the primary extruder, but the M-commands start the indexing at 1. This is minor, but there is so much post-processing going on in CubePro profiles, that it takes a significant amount of time to slice a model and save out a g-code file.
Simplify is so fast, but on this printer, it can be slower than other programs because of the post-processing.
i didn't think of using the comments--that is a good point. Of course, the CubePro doesn't support ";" in g-code so these are all stripped out. I can, however, insert more post processing commands before these comments are stripped out.. That may work--Thanks!