I'm currently attempting to input custom settings into my slicer. For some reason, the calculations are messed up when trying to center my slice.
The sliced file should contain coordinates that are lower than the max width / height and not go into negative values. I've also noticed, when slicing normally with Cura, you get MINX:<a normal number> instead of some random scientific calculation.
This might possibly be missing a setting, but this also could potentially be an bug with Cura WASM. I've extensively read through all of the possible settings to fdmprinter.def.json in Cura's repo and I have found nothing with a single indication of manually setting the max-w / max-h.
I have also tested multiple different variations with multiple different STL files with similar results. Most of the time the parsed file commands will tilt off past the assumed max / min / w / h.
I'm currently attempting to input custom settings into my slicer. For some reason, the calculations are messed up when trying to center my slice.
The sliced file should contain coordinates that are lower than the max width / height and not go into negative values. I've also noticed, when slicing normally with Cura, you get
MINX:<a normal number>
instead of some random scientific calculation.This might possibly be missing a setting, but this also could potentially be an bug with Cura WASM. I've extensively read through all of the possible settings to fdmprinter.def.json in Cura's repo and I have found nothing with a single indication of manually setting the max-w / max-h.
I have also tested multiple different variations with multiple different STL files with similar results. Most of the time the parsed file commands will tilt off past the assumed max / min / w / h.
What I'm sending to the printer:
The GCode retrieved (settings):
Note the X and Y values:
The X value should not go past 220 and the Y will dip into the negative. It makes absolute zero sense.
Now when I send a command but with larger width & height:
I get larger X and Y values but the settings max and min are still broken.
New GCode (settings):
New GCode (commands):