mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
More refactoring to clean up the Print object API
This commit is contained in:
@@ -119,6 +119,7 @@ sub gcode {
|
||||
my ($print) = @_;
|
||||
|
||||
my $fh = IO::Scalar->new(\my $gcode);
|
||||
$print->process;
|
||||
$print->export_gcode(output_fh => $fh, quiet => 1);
|
||||
$fh->close;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user