How are print dimensions calculated in UV Tools (not sure if this should be a bug report) #684
-
I have this layer which is 280px square and on my printer a pixel is 28.5um. UV Tools recognises both of these and says the layer should come out at 8.12mm square but 280 x .0285 is 7.98 not 8.12. Is there something I'm missing that makes this difference make sense? Or do you think this is a bug? Edit: I've just done the obvious reverse calculation and it appears to be a rounding issue. I think UV Tools is using 0.029 for the pixel calculation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Most likely is a rounding, calculation can be found here: UVtools/UVtools.Core/FileFormats/FileFormat.cs Lines 1751 to 1764 in df7d434 UVtools/UVtools.Core/Layers/Layer.cs Lines 214 to 225 in df7d434 To have better precision I can increase the rounding to 4 on the |
Beta Was this translation helpful? Give feedback.
-
Thank you for the quick reply. I was working on calibrating my printer and that was making me scratch my head a bit. |
Beta Was this translation helpful? Give feedback.
Most likely is a rounding, calculation can be found here:
UVtools/UVtools.Core/FileFormats/FileFormat.cs
Lines 1751 to 1764 in df7d434