hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
421 stars 150 forks source link

Feature Request: Color by flow rate #4

Closed alranel closed 11 years ago

alranel commented 11 years ago

Hi! I have one feature request for you. :)

I'd like an option to see lines colored by amount of extrusion instead of speed. You'd basically need to do ΔE / segment_length, where ΔE is the increment of E since last line. The result is expressed in mm of filament per mm of travel.

(I have no interest in displaying flow rate as mm/s because that would be an absolute value and since speed can change too, it would tell us nothing about how much plastic is being pushed.)

Maybe you're already doing something like that for computing your widths?

Thank you for considering my idea!

hudbrog commented 11 years ago

Hey! I was planning to implement that, but in mm^3/sec.. Well, did both. Available online. Actually, not as nice as I've hoped it would be.. right now I'm leaving 3 digits after the point when computing the value, but as it turns out - there's still a whole range of values, especially on rounded parts with short segments.. so, not too easy to see the value of the color that way.. Maybe I should implement some kind of sorting to hide speeds that are only used on a couple of segments.. Any ideas?

hudbrog commented 11 years ago

Is this what you wanted? Should I close the issue?

alranel commented 11 years ago

Oh yes please, I forgot to say thanks but that's just because I wanted to investigate why there are so many values as that could be interesting on Slic3r's side too. In the mean time I should have said to you that I love the new feature and I've been using happily. Good job!