Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extruded Filament widget not working #60

Closed
mdaneman opened this issue Oct 1, 2019 · 25 comments
Closed

Extruded Filament widget not working #60

mdaneman opened this issue Oct 1, 2019 · 25 comments
Labels
bug Something isn't working
Milestone

Comments

@mdaneman
Copy link

mdaneman commented Oct 1, 2019

Describe the bug
Not sure if this is a bug or I'm missing some external plugin, but the "extruded filament" display always shows "0.0m" for me.

To Reproduce
Steps to reproduce the behavior:
Just run a print and watch the filament display.

Expected behavior
Expect the filament display to show how much filament was extruded.

Desktop (please complete the following information):

  • OS: Windows10
  • Browser Chrome
  • Version 77

Smartphone (please complete the following information):

  • Device: iPhone6 / iPad
  • OS: iOS12 and iOS13
  • Browser Safari
@StefanCohen
Copy link
Collaborator

StefanCohen commented Oct 1, 2019

Interesting. This indicates that something is off with my GCODE parsing. What slicer are you using? Can you please upload a small gcode file that causes this problem? Do you see any errors in octoprint.log during a print?

@StefanCohen StefanCohen added the bug Something isn't working label Oct 2, 2019
@mdaneman
Copy link
Author

mdaneman commented Oct 2, 2019

I'm using Prusa Slicer latest version 2.1.0. Here's a sample of g-code I just used. The "filament used" indicator vacillated between "0.0m" and "-0.0m"

03-socket-cradle._7.2mm_hole_0.2mm_PETG_MK3S_51m.gcode.zip

@StefanCohen
Copy link
Collaborator

Thanks. Seems like a good opportunity to play with Prusa Slicer :)
I will take a look.

@ejjenkins
Copy link

Mine is doing something similar...it bounces between 0.00 and -0.01 and 0.01.

I am using the latest version of Simplify3D (v4.1.2).
Chip_Clip_-_Original_Sized_Version.zip

@StefanCohen
Copy link
Collaborator

Thanks. I can reproduce it with that one too so I will investigate further. I'm not planning to buy S3D any time soon so I may ask for more gcode examples if I need them.

@Naugrimohtar
Copy link

Note: I too am seeing this behavior (Prusa Slicer 2.1.0)

@StefanCohen
Copy link
Collaborator

In the examples I have:

  • S3D uses absolute positioning but keeps resetting the extruder during the print by setting G92 E0.0000
  • Prusa Slicer uses relative extruder positioning.
  • Cura uses absolute positioning

I need to find a way to support all three modes.

@StefanCohen
Copy link
Collaborator

Update: I have made some progress but this is a lot trickier than I anticipated. The different slicers are handling this in a lot of strange ways making this Dashboard feature unreliable. I'll work on it some more but I'm currently leaning towards removing the feature.

@StefanCohen
Copy link
Collaborator

StefanCohen commented Oct 4, 2019

Update. I found a way that works with all three methods (S3D, PS, Cura). I'm not yet sure that it covers all other slicers and weird settings but it will have to do for now.

StefanCohen pushed a commit that referenced this issue Oct 4, 2019
@StefanCohen StefanCohen added this to the 1.9.0 milestone Oct 4, 2019
@ejjenkins
Copy link

Looks good! Nice job.

@StefanCohen
Copy link
Collaborator

Fixed in v1.9.0

@mdaneman
Copy link
Author

mdaneman commented Oct 7, 2019

I wanted to report that now I do see filament widget update using both Prusa Slicer and Cura gcode. Thanks for the fix.

@tocache
Copy link

tocache commented Oct 28, 2019

I'm having the same issue and I'm using the latest version 1.11.1, it shows me 0.0 of extruded filament:
image

But Octolapse shows this parameter correctly.
image

I'm using Prusa Slicer ver 2.1

Here's my gcode used:
Sample_Spool_FIXED_0.2mm_PLA_MK3MMU2_6h47m.zip

@StefanCohen
Copy link
Collaborator

@tocache I can't reproduce it using the gcode file you provided. The extuded filament is calculated and displayed correctly in my installs of 1.11.1:

Screenshot 2019-10-29 at 15 57 47

@Crouze
Copy link

Crouze commented Mar 31, 2020

Same problem here. Extruded filament shows 0.01m, sometimes jumping to 0.02m and back again. Octoprint 1.4.0, Python 2.7, Dashboard Plugin 1.11.4, PrusaSlicer 2.1.1.

@StefanCohen
Copy link
Collaborator

Can you please provide a gcode file for me to reproduce it?

@Crouze
Copy link

Crouze commented Mar 31, 2020

Sure. Here's one I'm printing right now.

box3d_rear_cover_0.2mm_PLA_MK3S_6h5m.gcode.zip

image

@StefanCohen
Copy link
Collaborator

Very strange. I can't reproduce it using your gcode file.

Screenshot 2020-03-31 at 16 16 06

@StefanCohen
Copy link
Collaborator

I will need to spend some time with this.

@StefanCohen StefanCohen reopened this Mar 31, 2020
@Crouze
Copy link

Crouze commented Mar 31, 2020

The counter does seem to increase, but very slowly...

image

@StefanCohen
Copy link
Collaborator

There must be a setting somewhere in OctoPrint or another plugin that affects this behaviour but I can't find anything. The gcode file you provided just works for me regardless of what I do.

@Autonomy02
Copy link

Autonomy02 commented Sep 2, 2020

I am having the issue where the "Extruded Filament" remains at zero

Octoprint Environment:
Octoprint ver: 1.4.2
Python ver: 3.8.5
Dashboard plugin ver: 1.14.0
Octoprint running on Windows 10 Pro, direct connected via USB to the printer

Printer/slicer information
Printer: SnapMaker 2.0 A350
Slicer: SnapMaker Luban ver. 3.8.0

This is what is currently running:
image
sewing_thread_cone_holder_3_gcode.zip

Here is a smaller gcode file as well:
sewing_thread_cone_holder_spacer_2_gcode.zip

@larsbrockmann
Copy link

Did someone find the solution? I have the same problem. I am using SuperSlicer, a PrusaSlicer fork.

@tocache
Copy link

tocache commented May 4, 2022

Well. I found this issue when using the octolapse plugin, when disabling this you get back the extruded filament usage.

@larsbrockmann
Copy link

@tocache Thanks for the response. Sadly, I can not remember if I ever solved the problem. I moved on to using Klipper and Fluidd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants