mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
More refactoring to clean up the Print object API
This commit is contained in:
parent
d3171b1eea
commit
02df73c94b
5 changed files with 47 additions and 57 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue