-
Notifications
You must be signed in to change notification settings - Fork 150
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
Flow rate colors need binning #42
Comments
This is a useful tool to me as well, and I agree with you that the color range is not useful. I would say a continuous black-blue-green-yellow-orange-red-purple gradient (i.e. similar to a weather radar display) is a better idea, with black remaining the lowest-valued color. |
Is this ever going to get fixed? come on guys. |
This is really annoying. In fact, the "Extrude speeds in mm³/sec"-info is nearly unusably in my opinion. I was looking for a quick&dirty way to fix it to be able to get mm³/sec for a specific gcode i'm working on. It is far from perfect, but with a few simple steps, you can use it for yourself:
I know it's not perfect but usable. Currently it takes the values of all layers into account, this is why you do not see all 8 available colors in every layer. To fix this, one needs to replace extrusionSpeeds[speedIndex] by extrusionSpeedsByLayer[z][speedIndex], I think... PS: For convenience, the whole thing is attached as gCodeViewer-master.zip. Download, extract, "start.cmd", enjoy. |
Issue #28 mentioned that the flow rate colors can be hard to distinguish, but there's also a problem of too many colors:
That list isn't useful, because each color represents eight flow rates that have widely different numeric values.
Would it be possible to use only eight (or so) unique / garish / high-contrast colors per layer, with each color representing a group of "similar" flow rates?
For example, the 68 (!) different flow rates for that layer range from 1.430 to 3.118. Divide their span by (number of colors -1) to get the bin size, then assign the colors accordingly:
Using fixed-size bins, as in the first column of colors, may skip some colors, because those bins may be empty.
You could assign a fixed number of flow rates to the same color in order, as in the second column of colors. That would produce variable bin sizes, but the different colors would indicate the general trend of flow rates.
The general idea is to make the colors correspond to a meaningful range of flow rates, so that the preview will reveal the problem I'm having: too much plastic in the first layer. Is it a slicer setting or a printer misalignment?
The same color logic would improve the extrusion/move preview, which has a similar tendency to showing hairsplitting numeric details.
Thanks ...
The text was updated successfully, but these errors were encountered: