I have written a script to do the things I need done to the output gcode file, but it did not fully run from Slic3r, so I figured I would just write a wrapper script to take care of it, since it worked when I ran it from CMD. The wrapper script I wrote also runs from CMD but not Slic3r, and I am very confused why things are not working.
Here is the (very Basic) wrapper script. I am new to Perl and have not written one before, so please feel free to help wherever possible. Also, I am doing this on Windows 7.
#!usr/bin/perl
use strict;
use warnings;
my $line = $ARGV[0];
my $command = `perl PostProcessingParser.pl $line`;
print($command);
Edited 1 time(s). Last edit at 06/15/2017 10:41AM by plsmtrtl.