mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Finished porting Slic3r::GCode to XS (speed boost!)
This commit is contained in:
parent
0ad4296aaf
commit
3e739b87da
11 changed files with 208 additions and 167 deletions
|
@ -43,7 +43,7 @@ sub process {
|
|||
my $rel_flow_rate = $info->{dist_E} / $info->{dist_XY};
|
||||
|
||||
# Then calculate absolute flow rate (mm/sec of feedstock)
|
||||
my $flow_rate = $rel_flow_rate * $args->{F} / 60;
|
||||
my $flow_rate = $rel_flow_rate * $F / 60;
|
||||
|
||||
# And finally calculate advance by using the user-configured K factor.
|
||||
my $new_advance = $self->config->pressure_advance * ($flow_rate**2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue