mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
New --post-process option. Includes some cleaning of the STDOUT messages
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#!/usr/bin/perl
|
||||
#!/usr/bin/perl -i
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $z = 0;
|
||||
|
||||
# read stdin and any/all files passed as parameters one line at a time
|
||||
for (<>) {
|
||||
while (<>) {
|
||||
# if we find a Z word, save it
|
||||
$z = $1 if /Z(\d+(\.\d+)?)/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user