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
3 stars 1 forks source link

Invalid value for zhop instruction #16

Closed mayty closed 3 days ago

mayty commented 4 months ago

Zhop instruction needs to be G1 Z{layer_height + z_hop}. When I ran the generated code with layer height 0.4mm and zhop 0.25mm nozzle ran through printed layers (see attached image) photo_2024-02-29_00-54-11

garethky commented 4 months ago

Yes, the z-hop height isn't being added to the layer height.

garethky commented 4 months ago

There were cases where it never went back down to the regular z height. There were also many places where there were long travel moves happened with no z hop.

@mayty please try out the new version and see if this fixes your issue.

mayty commented 4 months ago

@garethky It works like a charm, thanks