Open jim-sokoloff opened 4 years ago
You should be using the Slic3r executable (IIRC it's a shell script on MacOS); if you wanted to call the script directly you need to provide all of the parameters.
I don't believe the command line arguments for plating/rotation are used at all with the GUI (that's why we have a GUI).
I'm trying to automate slic3r via the command line on MacOS Catalina.
Describe the bug Not all command-line options seem to be respected. If I run: shell% /Applications/Slic3r.App/Contents/MacOS/Slic3r --gui --rotate 90 foo.stl
the GUI opens, but the model is not rotated.
To Reproduce Steps to reproduce the behavior:
Possibly related; possibly not: When I instead try to run the Perl program: /Applications/Slic3r.App/Contents/MacOS/slic3r.pl --gui --rotate 90 foo.stl
I initially got: Can't locate local/lib.pm in @INC (you may need to install the local::lib module) (@INC contains: /Applications/Slic3r.app/Contents/MacOS/lib /usr/local/Cellar/perl/5.30.3/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level /usr/local/Cellar/perl/5.30.3/lib/perl5/site_perl/5.30.3 /usr/local/Cellar/perl/5.30.3/lib/perl5/5.30.3/darwin-thread-multi-2level /usr/local/Cellar/perl/5.30.3/lib/perl5/5.30.3 /usr/local/lib/perl5/site_perl/5.30.3/darwin-thread-multi-2level /usr/local/lib/perl5/site_perl/5.30.3) at ./slic3r.pl line 9. BEGIN failed--compilation aborted at ./slic3r.pl line 9.
So, I went to CPAN and installed App:cpanminus and local::lib and now get: ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xd880080, needed 0xc400080)
(I do have a lib.pm file at: /Applications/Slic3r.app/Contents/MacOS/local-lib/lib/perl5/local/lib.pm if that helps).
3D Model and Slic3r Configuration Export N/A - happens on any stl model, any out-of-the-box config in v.1.3.0 and v.1.3.1-dev
Expected behavior I expected the gui to load, with the model rotated 90 degrees. (Note that --duplicate-grid and many other options also fail to work, yet are parsed for correctness.)
Desktop (please complete the following information):
Additional context I don't know whether to chase this using the Slic3r executable (which runs, but doesn't process all the args) or the slic3r.pl file (which doesn't even run), so I'm a little bit at a loss as to how to best proceed.