From 106817d13a2db576143e0fb7a69974e3b90004c7 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 18 Oct 2014 17:58:41 +0200 Subject: [PATCH] Adapt wireframe.pl to the new GCode interface --- utils/wireframe.pl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/utils/wireframe.pl b/utils/wireframe.pl index b08b66797..7a533aa2b 100755 --- a/utils/wireframe.pl +++ b/utils/wireframe.pl @@ -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";