Thanks @stelgenhof Corrected units of measure that had exponents displayed with caret.
This commit is contained in:
parent
e0933786e3
commit
59cee4a3aa
@ -431,7 +431,7 @@ sub new {
|
|||||||
$print_info_sizer->Add($grid_sizer, 0, wxEXPAND);
|
$print_info_sizer->Add($grid_sizer, 0, wxEXPAND);
|
||||||
my @info = (
|
my @info = (
|
||||||
fil_m => "Used Filament (m)",
|
fil_m => "Used Filament (m)",
|
||||||
fil_mm3 => "Used Filament (mm^3)",
|
fil_mm3 => "Used Filament (mm\u00B3)",
|
||||||
fil_g => "Used Filament (g)",
|
fil_g => "Used Filament (g)",
|
||||||
cost => "Cost",
|
cost => "Cost",
|
||||||
time => "Estimated printing time",
|
time => "Estimated printing time",
|
||||||
|
@ -25,7 +25,7 @@ while (<>) {
|
|||||||
my $mm_per_mm = $e_length / $dist; # dE/dXY
|
my $mm_per_mm = $e_length / $dist; # dE/dXY
|
||||||
my $mm3_per_mm = ($filament_diameter[$T] ** 2) * PI/4 * $mm_per_mm;
|
my $mm3_per_mm = ($filament_diameter[$T] ** 2) * PI/4 * $mm_per_mm;
|
||||||
my $vol_speed = $F/60 * $mm3_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;
|
$dist, $e_length, $mm_per_mm, $vol_speed;
|
||||||
s/(\R+)/$comment$1/;
|
s/(\R+)/$comment$1/;
|
||||||
}
|
}
|
||||||
|
@ -446,7 +446,7 @@ PrintConfigDef::PrintConfigDef()
|
|||||||
def->tooltip = _L("Enter your filament density here. This is only for statistical information. "
|
def->tooltip = _L("Enter your filament density here. This is only for statistical information. "
|
||||||
"A decent way is to weigh a known length of filament and compute the ratio "
|
"A decent way is to weigh a known length of filament and compute the ratio "
|
||||||
"of the length to volume. Better is to calculate the volume directly through displacement.");
|
"of the length to volume. Better is to calculate the volume directly through displacement.");
|
||||||
def->sidetext = _L("g/cm^3");
|
def->sidetext = _L("g/cm\u00B3");
|
||||||
def->cli = "filament-density=f@";
|
def->cli = "filament-density=f@";
|
||||||
def->min = 0;
|
def->min = 0;
|
||||||
def->default_value = new ConfigOptionFloats { 0. };
|
def->default_value = new ConfigOptionFloats { 0. };
|
||||||
|
Loading…
Reference in New Issue
Block a user