Kragrathea / OctoPrint-PrettyGCode

114 stars 22 forks source link

Displayed amount of layers incorrect #93

Open fluefiske opened 3 years ago

fluefiske commented 3 years ago

Hey guys,

Love your plugin very much, I discovered though that the amount of layer displayed is incorrect.

image

The real amount should be 897.

Keep up the good work, love it,

André

Kragrathea commented 3 years ago

I think that is showing 64013 layers. My guess is your slicer is generating code that has a lot of Z changes in it for some reason?

rholak commented 3 years ago

@fluefiske Was this a spiral mode print? If so, that will cause this behavior since the Z changes are almost constant instead of every 0.2mm (or whatever resolution you choose). I am printing a spiral vase right now and the plugin is showing over 40,000 layers.

fluefiske commented 3 years ago

Yes it was

On Sun, 21 Feb 2021 at 02:31, Robert Holak notifications@github.com wrote:

@fluefiske https://github.com/fluefiske Was this a spiral mode print? If so, that will cause this behavior since the Z changes are almost constant instead of every 0.2mm (or whatever resolution you choose). I am printing a spiral vase right now and the plugin is showing over 40,000 layers.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Kragrathea/OctoPrint-PrettyGCode/issues/93#issuecomment-782777674, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG6D5HRXNHU2U6RTRBFWAITTABPANANCNFSM4U35Q3SQ .