TheNEStOnline / Multi-Extrusion-post-processing-scripts-for-Slic3r

useful postprocessing scripts for Slic3r, mostly adding dual extrusion features
5 stars 3 forks source link

Use of uninitialized value $r in numeric eq (==) #12

Open marceling2 opened 5 years ago

marceling2 commented 5 years ago

In Repetier Host V2.1.3 in combination with Slic3r 1.3.1.-dev (both windows 10 versions) I get a lot of errors such as

Use of uninitialized value $r in numeric eq (==) at D:\WipeTower_Slic3c_v3\myColourChange.pl line 534 and also line 538 and the process of the pl-file is aborted. Looking at that line is seems to be $r which is declared as my $r = $_[2]; # Start corner 0 - 3 Changing the declaration in my $r = 0 lets generat a g-code where the wipe tower layers ar not on top of each other, but squares next to each other in the direction of the x-axis You may contact me by mail: marcel.ingelbrecht@telenet.be ![image](https://user-images.githubusercontent.com/45893326/50041035-8af0d980-004e-11e9-85fe-84b458c8e4b5.png)