OctoPrint-PrettyGCode icon indicating copy to clipboard operation
OctoPrint-PrettyGCode copied to clipboard

Displayed amount of layers incorrect

Open fluefiske opened this issue 4 years ago • 3 comments

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é

fluefiske avatar Dec 15 '20 07:12 fluefiske

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?

Kragrathea avatar Dec 15 '20 10:12 Kragrathea

@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.

rholak avatar Feb 21 '21 01:02 rholak

Yes it was

On Sun, 21 Feb 2021 at 02:31, Robert Holak [email protected] 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 .

fluefiske avatar Feb 21 '21 14:02 fluefiske