mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Ported expanded_output_filepath() to C++/XS
This commit is contained in:
committed by
bubnikv
parent
66493ce821
commit
6a90fceaaf
@@ -59,7 +59,7 @@ use Slic3r::Test;
|
||||
$config->set('start_gcode', "TRAVEL:[travel_speed] HEIGHT:[layer_height]\n");
|
||||
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
|
||||
|
||||
my $output_file = $print->print->expanded_output_filepath;
|
||||
my $output_file = $print->print->output_filepath;
|
||||
my ($t, $h) = map $config->$_, qw(travel_speed layer_height);
|
||||
ok $output_file =~ /ts_${t}_/, 'print config options are replaced in output filename';
|
||||
ok $output_file =~ /lh_$h\./, 'region config options are replaced in output filename';
|
||||
|
||||
Reference in New Issue
Block a user