mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Thanks @stelgenhof Corrected units of measure that had exponents displayed with caret.
This commit is contained in:
parent
e0933786e3
commit
59cee4a3aa
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ while (<>) {
|
|||
my $mm_per_mm = $e_length / $dist; # dE/dXY
|
||||
my $mm3_per_mm = ($filament_diameter[$T] ** 2) * PI/4 * $mm_per_mm;
|
||||
my $vol_speed = $F/60 * $mm3_per_mm;
|
||||
my $comment = sprintf ' ; dXY = %.3fmm ; dE = %.5fmm ; dE/XY = %.5fmm/mm; volspeed = %.5fmm^3/sec',
|
||||
my $comment = sprintf ' ; dXY = %.3fmm ; dE = %.5fmm ; dE/XY = %.5fmm/mm; volspeed = %.5fmm\u00B3/sec',
|
||||
$dist, $e_length, $mm_per_mm, $vol_speed;
|
||||
s/(\R+)/$comment$1/;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue