mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Adapt wireframe.pl to the new GCode interface
This commit is contained in:
@@ -69,14 +69,7 @@ my %opt = (
|
|||||||
my $vertical_steps = 3;
|
my $vertical_steps = 3;
|
||||||
|
|
||||||
open my $fh, '>', $opt{output_file};
|
open my $fh, '>', $opt{output_file};
|
||||||
my $gcodegen = Slic3r::GCode->new(
|
my $gcodegen = Slic3r::GCode::Base->new;
|
||||||
layer_count => $vertical_steps,
|
|
||||||
);
|
|
||||||
{
|
|
||||||
my $print_config = Slic3r::Config::Print->new;
|
|
||||||
$gcodegen->set_extruders([0], $print_config);
|
|
||||||
$gcodegen->set_extruder(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
print $fh "G21 ; set units to millimeters\n";
|
print $fh "G21 ; set units to millimeters\n";
|
||||||
print $fh "G90 ; use absolute coordinates\n";
|
print $fh "G90 ; use absolute coordinates\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user