mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-30 12:11:15 -06:00
Adapt the new gcode.t test to master (and subtract final retraction from used filament length)
This commit is contained in:
parent
9515acf527
commit
ed3a6349c7
3 changed files with 10 additions and 7 deletions
|
|
@ -83,8 +83,8 @@ sub extrude {
|
|||
}
|
||||
|
||||
sub extruded_volume {
|
||||
my ($self) = @_;
|
||||
return $self->absolute_E * ($self->filament_diameter**2) * PI/4;
|
||||
my ($self, $E) = @_;
|
||||
return $E * ($self->filament_diameter**2) * PI/4;
|
||||
}
|
||||
|
||||
sub e_per_mm {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue