Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.06k stars 2.06k forks source link

Displaying the z offset in mm in the progression bar (in the preview screen). #8088

Closed deeniko closed 4 years ago

deeniko commented 4 years ago

Hi,

My printer displays the z offset in millimetres (mm) when printing (e.g. Layer 78.72mm), but not the layer number as in the Cura preview (e.g 246).

When I am in the preview screen in Cura, to find at which layer the z is currently on, I have to calculate the Layer Height multiplied by the layer number (displayed on the progression bar in a box on the right side of the screen).

You may observe the numbers I put in the brackets in my first paragraph, as an example. At this current print the Layer Height is set to 0.32mm and the Initial Layer Height is set to 0.32mm as well. To find the layer number on the preview I have to divide the layer displayed in my printer (78.72) by the Layer Height (0.32), which determines that the z offset is at layer number 246 at a current moment.

Is it possible to display the z offset in mm above or below the box where the layer number is as well please (i.e. 78.72)? I am asking you this, since the purpose of inventing computers is to do those calculations for us.

My solution to this problem would be as below (in a descriptive way).

[Layer height in mm] = [Build Plate Adhesion] + [Initial Layer Height] + ([Layer Height] * ([Layer Number] - 1)) **

e.g. [Layer height in mm] = 0 + 0.32 + (0.32 * (246 - 1)) = 78.72.


** [Build Plate Adhesion]: I believe only Raft raises the z offset a bit, but I may be wrong. [Initial Layer Height]: This could be different from the layers that follows ([Layer Height]). ([Layer Number] - 1): We deduct the [Initial Layer Height].

I hope this makes sense.

Thank you for taking the time to read my suggestion,

Dee

Ghostkeeper commented 4 years ago

Your calculation isn't entirely correct indeed if there's a raft, adaptive layers or one-at-a-time mode. Especially with adaptive layers it isn't really feasible to compute the height from the layer nr. Cura's front-end knows the height of the layers though; it gets sent through by CuraEngine in order to display the layer at the correct height in the 3D view.

This issue is a duplicate of https://github.com/Ultimaker/Cura/issues/5744 and part of https://github.com/Ultimaker/Cura/issues/7576, so I'll close it here. Please read those discussions. It's more of a problem of how to fit it in the interface, and doesn't get enough priority at the moment.