garethky / PrusaSlicerPressureAdvanceCalibration

An web tool that modified PrusaSlicer GCode to add a Pressure Advance test pattern
https://garethky.github.io/PrusaSlicerPressureAdvanceCalibration/
GNU General Public License v3.0
5 stars 3 forks source link

Incorrect settings extracted from Prusa (2.8.1) Sliced gcode #22

Open infinisean opened 1 week ago

infinisean commented 1 week ago

When I slice an export the model, and then load it in the web-interface, it has many incorrect settings.... for example, I am using the PrusaXL 2-tool and it picks up my Tool-0 diameter, even though I have sliced for Tool-1... likewise the temperature is neither the first layer or other layer temp from the sliced output, the speeds are all wrong, the filament overrides like retract length are incorrect, etc.

Two suggestions:

  1. I like how you explain how (some of) the settings are chosen from the sliced/exported file.... I would suggest expanding on that to included the full configuration line in question that the script is pulling the value from. That will aid in debugging...
  2. It would be very helpful to have the values that are pulled from the sliced/exported file auto-populate text-input boxes in a large form, with the ability to override those "learned" values if they are erroneous (or advanced users just want a quick way to make an adjustment without going through the whole slice/export/import/review process each time a change is needed).
garethky commented 1 week ago

Ok, I can dig into that, I have an XL and I'm on 2.8.1 locally. Would you mind providing the gcode file that you used?

Looks like the tool number is pulled from the perimeter_extruder setting. But maybe that's not right for the XL.

1) - Maybe, I'll have to see how much work that is to implement. Ideally you get the line, along with a line number in the file to find it.

2) - I don't want to add the text boxes, its just so overwhelming. The concept here is that Prusa Slicer has all those text boxes. E.g. If you really think you should print the test faster, you can change that in Prusa Slicer. We do have some issues open about specific choices that are hard to make: specifically what the print temp should be, see #19.