DrLex0 / FFCP-GCodeSnippets

G-Code and scripts for using the FlashForge Creator Pro with PrusaSlicer (Slic3r)
https://www.dr-lex.be/software/ffcp-slic3r-profiles.html?r=gh
Creative Commons Attribution 4.0 International
59 stars 16 forks source link

Perlify postproc script #13

Closed DrLex0 closed 3 years ago

DrLex0 commented 3 years ago

This gets rid of Bash as a requirement to use the make_fcp_x3g post-processing script. The script is now written in Perl which allows to run it directly in Windows through a Perl interpreter like Strawberry Perl. You can still use WSL of course, since pretty much every Linux distribution has Perl included. You might need to install the File::Which Perl module when using any Linux-like environment (not needed in Strawberry Perl and Mac OS where this module is preinstalled). See the updated instructions for details.

The old simple BAT script is gone because it required Perl anyhow, so you might as well be using the whole new Perl script.

Anyone using the old make_fcp_x3g bash script does not need to upgrade to the Perl script, because there is no new functionality. If you do want to move to the new script, make sure to read the new instructions because some things have changed especially if you are using WSL.