mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 13:18:57 +08:00
Adapt wireframe.pl to the new GCode interface
This commit is contained in:
parent
f8967418b9
commit
106817d13a
@ -69,14 +69,7 @@ my %opt = (
|
||||
my $vertical_steps = 3;
|
||||
|
||||
open my $fh, '>', $opt{output_file};
|
||||
my $gcodegen = Slic3r::GCode->new(
|
||||
layer_count => $vertical_steps,
|
||||
);
|
||||
{
|
||||
my $print_config = Slic3r::Config::Print->new;
|
||||
$gcodegen->set_extruders([0], $print_config);
|
||||
$gcodegen->set_extruder(0);
|
||||
}
|
||||
my $gcodegen = Slic3r::GCode::Base->new;
|
||||
|
||||
print $fh "G21 ; set units to millimeters\n";
|
||||
print $fh "G90 ; use absolute coordinates\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user